zhangjie 2 lat temu
rodzic
commit
31fa1766cd

+ 1 - 1
src/modules/questions/views/EditPaper.vue

@@ -2223,7 +2223,7 @@ export default {
     },
     //新增选项
     addQuesOption() {
-      if (this.quesModel.quesOptions.length > 20) {
+      if (this.quesModel.quesOptions.length >= 20) {
         this.$notify({
           message: "选项最多20个",
           type: "error",

+ 1 - 1
src/modules/questions/views/EditPaperPendingTrial.vue

@@ -2305,7 +2305,7 @@ export default {
     },
     //新增选项
     addQuesOption() {
-      if (this.quesModel.quesOptions.length > 20) {
+      if (this.quesModel.quesOptions.length >= 20) {
         this.$notify({
           message: "选项最多20个",
           type: "error",

+ 1 - 1
src/modules/questions/views/EditSelectQuestion.vue

@@ -540,7 +540,7 @@ export default {
     },
     //新增选项
     addQuesOption() {
-      if (this.quesModel.quesOptions.length > 20) {
+      if (this.quesModel.quesOptions.length >= 20) {
         this.$notify({
           message: "选项最多20个",
           type: "error",