Skip to content

Commit

Permalink
fix: Localization of date and number formats (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 authored May 21, 2024
1 parent a08dc91 commit b95c62b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Web/Masa.Mc.Web.Admin/Masa.Mc.Web.Admin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Mapster" Version="7.3.0" />
<PackageReference Include="Masa.BuildingBlocks.Authentication.Identity" Version="$(MasaFrameworkPackageVersion)" />
<PackageReference Include="Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch" Version="$(MasaFrameworkPackageVersion)" />
<PackageReference Include="Masa.Stack.Components" Version="0.0.450" />
<PackageReference Include="Masa.Stack.Components" Version="0.0.451" />
<PackageReference Include="Masa.Utils.Data.Elasticsearch" Version="$(MasaFrameworkPackageVersion)" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.16" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.5" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ protected async override Task OnInitializedAsync()
new(T("Success"), true),
new(T("Failure"), false)
};

SetDefaultParam();
}

private void SetDefaultParam()
Expand Down Expand Up @@ -64,6 +62,8 @@ protected async override Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
SetDefaultParam();

await LoadData();
}
await base.OnAfterRenderAsync(firstRender);
Expand Down

0 comments on commit b95c62b

Please sign in to comment.