fix localization
This commit is contained in:
@@ -6,6 +6,9 @@ using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Localization;
|
||||
using System.Net.Http;
|
||||
using FluentValidation;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
@@ -67,6 +70,8 @@ builder.Services.AddScoped<HttpService>(sp =>
|
||||
return new HttpService(httpClient, httpContextAccessor);
|
||||
});
|
||||
|
||||
builder.Services.AddValidatorsFromAssembly(typeof(Atomx.Admin.Client.Validators.LoginModelValidator).Assembly);
|
||||
|
||||
builder.Services.AddAntDesign();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user