odc.xiaohui
2023-06-28 9845f22b288bc6a941d20b2d6df9b6e888f4f4de
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
          }