Prechádzať zdrojové kódy

fix: 考试对象导入

zhangjie 1 rok pred
rodič
commit
4d8a8f77c4

+ 0 - 5
src/modules/exam/components/createExamAndPrintTask/InfoPrintTask.vue

@@ -102,7 +102,6 @@
           <el-button
             v-if="checkPrivilege('button', 'ExamTaskStudentObject')"
             type="primary"
-            :disabled="studentUploaded && !!tableData.length"
             @click="toAdd"
             >新增考试对象</el-button
           >
@@ -581,10 +580,6 @@ export default {
         }
         return;
       }
-      if (this.studentUploaded) {
-        this.tableData = [];
-        this.studentUploaded = false;
-      }
 
       this.updateTableData(selectedStudents);