From cf7f51a6337fb97525c7fcfb5d6b1afb7e10ac9f Mon Sep 17 00:00:00 2001 From: 葛瑞士 <gers@neoceansoft.com> Date: 星期三, 09 十二月 2020 16:05:09 +0800 Subject: [PATCH] 解决多文件上传Log报错 --- ruoyi-ui/src/views/system/role/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index bdaa90d..279c466 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -368,18 +368,18 @@ // 鎵�鏈夎彍鍗曡妭鐐规暟鎹� 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; }, @@ -440,7 +440,7 @@ menuIds: [], deptIds: [], menuCheckStrictly: true, - deptCheckStrictly: true, + deptCheckStrictly: true, remark: undefined }; this.resetForm("form"); -- Gitblit v1.9.3