浏览代码

角色权限半选

gangyj 2 年之前
父节点
当前提交
ca977646f0
共有 1 个文件被更改,包括 2 次插入2 次删除
  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();