Explorar o código

统一鉴权添加用户bug修复

Bella %!s(int64=2) %!d(string=hai) anos
pai
achega
5ee19a7bb8
Modificáronse 2 ficheiros con 10 adicións e 1 borrados
  1. 5 1
      src/components/auth/authAction.vue
  2. 5 0
      src/components/auth/authRole.vue

+ 5 - 1
src/components/auth/authAction.vue

@@ -510,7 +510,11 @@ export default {
         label: groupName,
         type: "group",
       });
-      
+      this.checkedObj.groupChecked = "";
+      this.checkedObj.systemChecked = "";
+      this.checkedDeviceList = [];
+      this.addedSystemMap.clear();
+      this.addedSystemArr = [];
     },
     addUserEvent() {
       this.visible.user = false;

+ 5 - 0
src/components/auth/authRole.vue

@@ -393,6 +393,11 @@ export default {
         label: groupName,
         type: "group",
       });
+      this.checkedObj.groupChecked = ""
+      this.checkedObj.systemChecked = ""
+      this.checkedUsers = []
+      this.addedRoleMap.clear()
+      this.addedRoleArr = []
     },
     addUserEvent() {
       this.visible.user = false;