Remove ViewComponent in DynamicProxyIgnoreTypes.

pull/3348/head
maliming 5 years ago
parent fd5eda2b7f
commit 406d1cdb9b

@ -44,7 +44,6 @@ namespace Volo.Abp.AspNetCore.Mvc
{
DynamicProxyIgnoreTypes.Add<ControllerBase>();
DynamicProxyIgnoreTypes.Add<PageModel>();
DynamicProxyIgnoreTypes.Add<ViewComponent>();
context.Services.AddConventionalRegistrar(new AbpAspNetCoreMvcConventionalRegistrar());
}

Loading…
Cancel
Save