xusl преди 1 година
родител
ревизия
f965b5d0c8
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      ui/src/views/sysManager/userManager/index.vue

+ 4 - 1
ui/src/views/sysManager/userManager/index.vue

@@ -702,7 +702,10 @@ export default {
         remark: undefined,
         expDate: undefined
       };
-      // this.resetForm("form");
+
+      if (this.$refs["form"]) {
+        this.$refs["form"].clearValidate();
+      }
     },
     /** 重置按钮操作 */
     resetQuery() {