浏览代码

Merge branch 'dev_v5.0.4' of http://git.qmth.com.cn/examcloud-frontend/examcloud-admin-web into dev_v5.0.4

xiatian 10 月之前
父节点
当前提交
45b76d99a4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/modules/examwork/view/ipConfig.vue

+ 4 - 0
src/modules/examwork/view/ipConfig.vue

@@ -174,6 +174,7 @@
       width="450px"
       width="450px"
       :visible.sync="showEditDialog"
       :visible.sync="showEditDialog"
       :close-on-click-modal="false"
       :close-on-click-modal="false"
+      @close="dialogBeforeClose"
     >
     >
       <el-form
       <el-form
         ref="editRef"
         ref="editRef"
@@ -390,6 +391,9 @@ export default {
         this.rolePrivileges = response.data;
         this.rolePrivileges = response.data;
       });
       });
     },
     },
+    dialogBeforeClose() {
+      this.$refs.editRef.clearValidate();
+    },
     getExamList() {
     getExamList() {
       this.$httpWithMsg
       this.$httpWithMsg
         .get(
         .get(