fix culture
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Atomx.Admin.Client.Services
|
||||
// 在 Blazor WebAssembly 场景下,会使用注入的 HttpClient 从 wwwroot/Localization/{culture}.json 获取资源
|
||||
public JsonStringLocalizer(string resourcesPath, HttpClient? httpClient = null)
|
||||
{
|
||||
_resourcesPath = (resourcesPath ?? "Localization").Trim('/'); // 规范化
|
||||
_resourcesPath = (resourcesPath ?? "localization").Trim('/'); // 规范化
|
||||
_httpClient = httpClient;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user