From f4876422a997eedad844e757801e31aeb6b8086b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 14 十月 2020 09:22:01 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi-ui/src/views/system/dict/index.vue | 4 +--- ruoyi-ui/src/views/system/role/index.vue | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/ruoyi-ui/src/views/system/dict/index.vue index e106585..ba4d7b6 100644 --- a/ruoyi-ui/src/views/system/dict/index.vue +++ b/ruoyi-ui/src/views/system/dict/index.vue @@ -352,9 +352,7 @@ /** 娓呯悊缂撳瓨鎸夐挳鎿嶄綔 */ handleClearCache() { clearCache().then(response => { - if (response.code === 200) { - this.msgSuccess("娓呯悊鎴愬姛"); - } + this.msgSuccess("娓呯悊鎴愬姛"); }); } } diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index 97359c1..10cf5b8 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