FlyFive
2020-10-12 0cae7d0058e96701671923bff5269edb70236a69
update ruoyi-ui/src/views/system/role/index.vue.
getMenuAllCheckedKeys()方法中选中节点和半选节点获取的方法反了。
1 files modified
4 ■■■■ changed files
ruoyi-ui/src/views/system/role/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/role/index.vue
@@ -377,9 +377,9 @@
    // 所有部门节点数据
    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;
    },