Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
0cae7d00
Commit
0cae7d00
authored
Oct 12, 2020
by
FlyFive
Committed by
Gitee
Oct 12, 2020
Browse files
update ruoyi-ui/src/views/system/role/index.vue.
getMenuAllCheckedKeys()方法中选中节点和半选节点获取的方法反了。
parent
b0965653
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/system/role/index.vue
View file @
0cae7d00
...
...
@@ -377,9 +377,9 @@ export default {
// 所有部门节点数据
getDeptAllCheckedKeys
()
{
// 目前被选中的部门节点
let
checkedKeys
=
this
.
$refs
.
dept
.
get
Half
CheckedKeys
();
let
checkedKeys
=
this
.
$refs
.
dept
.
getCheckedKeys
();
// 半选中的部门节点
let
halfCheckedKeys
=
this
.
$refs
.
dept
.
getCheckedKeys
();
let
halfCheckedKeys
=
this
.
$refs
.
dept
.
get
Half
CheckedKeys
();
checkedKeys
.
unshift
.
apply
(
checkedKeys
,
halfCheckedKeys
);
return
checkedKeys
;
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment