Skip to content

Commit

Permalink
当共用数据库时错开菜单Admin的交叉
Browse files Browse the repository at this point in the history
  • Loading branch information
peksmart committed Feb 22, 2024
1 parent 2f3c5d0 commit 6ad2fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCode/Membership/角色.Biz.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static void CheckRole()
}

// 所有角色都有权进入管理平台,否则无法使用后台
var menu = menus.FirstOrDefault(e => e.Name == "Admin");
var menu = menus.FirstOrDefault(e => e.Name == "Admin" || e.Name == "System");
if (menu != null)
{
foreach (var role in list)
Expand Down

0 comments on commit 6ad2fa9

Please sign in to comment.