Procházet zdrojové kódy

角色权限半选

gangyj před 2 roky
rodič
revize
ca977646f0
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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();