|
@@ -425,7 +425,7 @@ export default {
|
|
|
submitForm(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- if (this.quesModel.quesOptions.length >= 20) {
|
|
|
+ if (this.quesModel.quesOptions.length > 20) {
|
|
|
this.$notify({
|
|
|
message: "选项最多20个",
|
|
|
type: "error",
|
|
@@ -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",
|