src/views/exam/paper/edit.vue
@@ -135,7 +135,7 @@ name: '', suggestTime: null, titleItems: [], subjectSource:null subjectSource:{} }, subjectFilter: null, formLoading: false, @@ -239,7 +239,7 @@ }else { this.form.subjectSource={} this.subjectIdList = [] this.form.paperType = 1 // this.form.paperType = 1 } }, submitForm () { @@ -249,7 +249,7 @@ this.$refs.form.validate((valid) => { if (valid) { this.formLoading = true if (this.subjectIdList.length=1){ if (this.subjectIdList.length == 1){ this.form.subjectId= this.form.subjectId }