Browse Source

修正注释选中节点和半选节点获取

tags/v2.3.0
RuoYi 4 years ago
parent
commit
512c6acebc
  1. 8
      ruoyi-ui/src/views/system/role/index.vue

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

@ -368,18 +368,18 @@ export default { @@ -368,18 +368,18 @@ export default {
//
getMenuAllCheckedKeys() {
//
let checkedKeys = this.$refs.menu.getHalfCheckedKeys();
let checkedKeys = this.$refs.menu.getCheckedKeys();
//
let halfCheckedKeys = this.$refs.menu.getCheckedKeys();
let halfCheckedKeys = this.$refs.menu.getHalfCheckedKeys();
checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
return checkedKeys;
},
//
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);
return checkedKeys;
},

Loading…
Cancel
Save