From 0cae7d0058e96701671923bff5269edb70236a69 Mon Sep 17 00:00:00 2001 From: FlyFive <826323891@qq.com> Date: Mon, 12 Oct 2020 13:50:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/views/system/role/index.v?= =?UTF-8?q?ue.=20getMenuAllCheckedKeys()=E6=96=B9=E6=B3=95=E4=B8=AD?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E8=8A=82=E7=82=B9=E5=92=8C=E5=8D=8A=E9=80=89?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E8=8E=B7=E5=8F=96=E7=9A=84=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=8F=8D=E4=BA=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/role/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index bdaa90da..7835eb6b 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -377,9 +377,9 @@ export default { // 所有部门节点数据 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; },