diff --git a/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Menus/UserFavoriteMenuAppService.cs b/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Menus/UserFavoriteMenuAppService.cs index 19a5961fd..511c798e6 100644 --- a/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Menus/UserFavoriteMenuAppService.cs +++ b/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Menus/UserFavoriteMenuAppService.cs @@ -42,7 +42,7 @@ public class UserFavoriteMenuAppService : PlatformApplicationServiceBase, IUserF standardMenu.Name, standardMenu.DisplayName, standardMenu.Path, - standardMenu.Icon, + input.Icon ?? standardMenu.Icon, input.Color, input.AliasName, CurrentTenant.Id); @@ -72,7 +72,7 @@ public class UserFavoriteMenuAppService : PlatformApplicationServiceBase, IUserF standardMenu.Name, standardMenu.DisplayName, standardMenu.Path, - standardMenu.Icon, + input.Icon ?? standardMenu.Icon, input.Color, input.AliasName, CurrentTenant.Id);