diff --git a/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs b/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs index ce21afb4..b824885c 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Extensions/ApplicationBuilderExtensions.cs @@ -26,9 +26,6 @@ public static class ApplicationBuilderExtensions builder.UseAuthentication(); builder.UseAuthorization(); - // 激活 ICacheManager - builder.Services.GetRequiredService(); - return builder; } }