src/views/exam/question/edit/single-choice.vue
@@ -136,8 +136,13 @@ }) if (id && parseInt(id) !== 0) { _this.formLoading = true questionApi.select(id).then(re => { _this.form = re.response _this.form.subjectIds = [] _this.form.questionSubjects.forEach(item=>{ _this.form.subjectIds.push(item.subjectId) }) _this.formLoading = false }) }