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

pull/25/head
RuoYi 4 years ago
parent ad928ee719
commit 512c6acebc

@ -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