diff --git a/aspnet-core/modules/identity/LINGYUN.Abp.Identity.Application/LINGYUN/Abp/Identity/IdentityRoleAppService.cs b/aspnet-core/modules/identity/LINGYUN.Abp.Identity.Application/LINGYUN/Abp/Identity/IdentityRoleAppService.cs index 620ba57bd..4df4ff583 100644 --- a/aspnet-core/modules/identity/LINGYUN.Abp.Identity.Application/LINGYUN/Abp/Identity/IdentityRoleAppService.cs +++ b/aspnet-core/modules/identity/LINGYUN.Abp.Identity.Application/LINGYUN/Abp/Identity/IdentityRoleAppService.cs @@ -72,7 +72,7 @@ public class IdentityRoleAppService : IdentityAppServiceBase, IIdentityRoleAppSe { var role = await IdentityRoleRepository.GetAsync(id); - return new ListResultDto(ObjectMapper.Map, List>(role.Claims)); + return new ListResultDto(ObjectMapper.Map, List>(role.Claims.ToList())); } [Authorize(IdentityPermissions.Roles.ManageClaims)]