Browse Source

fix: 试题列表导入页面提示错误

zhangjie 1 year ago
parent
commit
67d9b728b9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/modules/question/components/QuestionImportDialog.vue

+ 4 - 0
src/modules/question/components/QuestionImportDialog.vue

@@ -278,6 +278,10 @@ export default {
       if (this.importType === "zip") {
       if (this.importType === "zip") {
         this.templateUrl = "";
         this.templateUrl = "";
       }
       }
+
+      this.$nextTick(() => {
+        this.$refs.modalFormComp.clearValidate();
+      });
     },
     },
     fileChange(fileData) {
     fileChange(fileData) {
       this.fileData = fileData;
       this.fileData = fileData;