mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-19 16:06:36 +08:00
更新控制器
This commit is contained in:
@@ -108,6 +108,7 @@ namespace Yi.Framework.Service
|
||||
foreach (var role in roleList)
|
||||
{
|
||||
var menu= await _roleService.GetMenusByRole(role);
|
||||
menu.ForEach(u => u.roles = null);
|
||||
menuList.Add(menu);
|
||||
}
|
||||
return menuList;
|
||||
|
||||
Reference in New Issue
Block a user