考试管理分类上传字段修改

This commit is contained in:
Yuan 2022-10-27 17:10:26 +08:00
parent 1cca675506
commit ff7bf2311b
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ export default {
groupType: this.form.type,
subType: this.form.subtype,
}
if (this.form.tags) param.tags = this.form.tags
if (this.form.tags) param.tags = [this.form.tags]
getQuestionAmount(param).then(resp => {
this.topicNum = resp.data
})

View File

@ -105,7 +105,7 @@ export default {
amount: formData.amount,
score: formData.score,
topicNum: formData.topicNum,
tags: formData.tags,
tags: [formData.tags],
}
if (isEdit) {
this.$set(this.ruleList, this.editingIndex, data)