考试管理分类上传字段修改
This commit is contained in:
parent
1cca675506
commit
ff7bf2311b
@ -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
|
||||
})
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user