Browse Source
Merge pull request #23036 from abpframework/auto-merge/rel-9-2/3770
Merge branch dev with rel-9.2
pull/23040/head
maliming
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs
|
|
|
@ -85,10 +85,10 @@ public abstract class AbpComponentBase : OwningComponentBase |
|
|
|
|
|
|
|
if (ObjectMapperContext == null) |
|
|
|
{ |
|
|
|
return LazyGetRequiredService(ref _objectMapper)!; |
|
|
|
return LazyGetNonScopedRequiredService(ref _objectMapper)!; |
|
|
|
} |
|
|
|
|
|
|
|
return LazyGetRequiredService( |
|
|
|
return LazyGetNonScopedRequiredService( |
|
|
|
typeof(IObjectMapper<>).MakeGenericType(ObjectMapperContext), |
|
|
|
ref _objectMapper |
|
|
|
)!; |
|
|
|
|