Преглед на файлове

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;