Explorar o código

角色权限半选

gangyj %!s(int64=2) %!d(string=hai) anos
pai
achega
ca977646f0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/authority/role.vue

+ 2 - 2
src/views/authority/role.vue

@@ -291,8 +291,8 @@
       },
 
       submit() {
-        const menuList = this.$refs.treeMenu.getCheckedKeys();
-        const menuClientList = this.$refs.treeClientMenu.getCheckedKeys();
+        const menuList = this.$refs.treeMenu.getCheckedKeys(false,true);
+        const menuClientList = this.$refs.treeClientMenu.getCheckedKeys(false,true);
         const dataScopeList = this.$refs.treeDataScope.getCheckedKeys();
         const apiScopeList = this.$refs.treeApiScope.getCheckedKeys();
         const tableOwnersList = this.$refs.tableOwners.getCheckedKeys();