Explorar o código

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

zhangjie hai 1 ano
pai
achega
67d9b728b9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;