소스 검색

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

zhangjie 1 년 전
부모
커밋
67d9b728b9
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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") {
         this.templateUrl = "";
       }
+
+      this.$nextTick(() => {
+        this.$refs.modalFormComp.clearValidate();
+      });
     },
     fileChange(fileData) {
       this.fileData = fileData;