From 08df2c93a9fdeb25aecc064d13281c7f82db3cd1 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 13 Oct 2020 14:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/dict/index.vue | 4 +--- ruoyi-ui/src/views/system/role/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/ruoyi-ui/src/views/system/dict/index.vue index 7c90814b..c1de85af 100644 --- a/ruoyi-ui/src/views/system/dict/index.vue +++ b/ruoyi-ui/src/views/system/dict/index.vue @@ -352,9 +352,7 @@ export default { /** 清理缓存按钮操作 */ 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 7835eb6b..279c466b 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -368,9 +368,9 @@ export default { // 所有菜单节点数据 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; }, @@ -440,7 +440,7 @@ export default { menuIds: [], deptIds: [], menuCheckStrictly: true, - deptCheckStrictly: true, + deptCheckStrictly: true, remark: undefined }; this.resetForm("form");