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

product
RuoYi 2020-10-13 17:44:56 +08:00
parent ad928ee719
commit 512c6acebc
1 changed files with 4 additions and 4 deletions

View File

@ -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;
},