试卷编制实训题数量增加校验
This commit is contained in:
parent
5449bd0e29
commit
720bce52a3
@ -82,7 +82,7 @@ export default {
|
||||
message(new Error(this.$t('publish.inputQuestionNumberError')));
|
||||
} else if (!Number(value)) {
|
||||
message(new Error(this.$t('publish.inputValidNumber')));
|
||||
} else if (Number(value) > this.topicNum && this.form.type === 1) {
|
||||
} else if (Number(value) > this.topicNum) {
|
||||
message(new Error(this.$t('publish.inputNumberError')));
|
||||
} else {
|
||||
message();
|
||||
|
Loading…
Reference in New Issue
Block a user