@@ -2224,6 +2224,13 @@ export default {
},
//新增选项
addQuesOption() {
+ if (this.quesModel.quesOptions.length == 20) {
+ this.$notify({
+ message: "选项最多20个",
+ type: "error",
+ });
+ return;
+ }
this.quesModel.quesOptions.push({
number: "",
optionBody: "",