Browse Source

角色权限半选

gangyj 2 năm trước cách đây
mục cha
commit
ca977646f0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();