update ruoyi-ui/src/views/system/role/index.vue.

getMenuAllCheckedKeys()方法中选中节点和半选节点获取的方法反了。
This commit is contained in:
FlyFive 2020-10-12 13:50:25 +08:00 committed by Gitee
parent b0965653bf
commit 0cae7d0058

View File

@ -377,9 +377,9 @@ export default {
// //
getDeptAllCheckedKeys() { getDeptAllCheckedKeys() {
// //
let checkedKeys = this.$refs.dept.getHalfCheckedKeys(); let checkedKeys = this.$refs.dept.getCheckedKeys();
// //
let halfCheckedKeys = this.$refs.dept.getCheckedKeys(); let halfCheckedKeys = this.$refs.dept.getHalfCheckedKeys();
checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys); checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
return checkedKeys; return checkedKeys;
}, },