diff --git a/Bootstrap.DataAccess/Menu.cs b/Bootstrap.DataAccess/Menu.cs index 38c32233..785f3b2c 100644 --- a/Bootstrap.DataAccess/Menu.cs +++ b/Bootstrap.DataAccess/Menu.cs @@ -84,7 +84,7 @@ namespace Bootstrap.DataAccess } } } - return menus.Select(m => m.Id); + return menus.Select(m => new { m.Id }); } /// /// 通过角色ID保存当前授权菜单