From 7bf924167d4ff8241b83bcc3680df469d1e49961 Mon Sep 17 00:00:00 2001 From: stylefeng Date: Thu, 31 Oct 2024 12:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.3.1=E3=80=91=E3=80=90role=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=80=89=E4=B8=AD=E7=8A=B6=E6=80=81=E5=A1=AB?= =?UTF-8?q?=E5=85=85=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roses/kernel/sys/api/factory/RoleBindPermissionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/sys/api/factory/RoleBindPermissionFactory.java b/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/sys/api/factory/RoleBindPermissionFactory.java index f12d4c08e..923bd70cc 100644 --- a/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/sys/api/factory/RoleBindPermissionFactory.java +++ b/kernel-s-system/system-api/src/main/java/cn/stylefeng/roses/kernel/sys/api/factory/RoleBindPermissionFactory.java @@ -154,7 +154,7 @@ public class RoleBindPermissionFactory { } // 菜单是叶子节点,并且未选中,则设置应用也未选中 - if (!menuItem.getChecked()) { + if (menuItem.getLeafFlag() && !menuItem.getChecked()) { appItem.setChecked(false); return; }