Skip to content

Commit

Permalink
fix: issues 1291 (#1294)
Browse files Browse the repository at this point in the history
* fix: issues 1183、1166

* fix: issues 1291
  • Loading branch information
wzh425 authored May 8, 2024
1 parent 22414b3 commit 291bb15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
<PackageReference Include="Humanizer.Core.zh-CN" Version="2.14.1" />
<PackageReference Include="Mapster" Version="7.3.0" />
<PackageReference Include="Masa.Stack.Components" Version="0.0.445" />
<PackageReference Include="Masa.Stack.Components" Version="0.0.446" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.7" />
<!--Support GB2312-->
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public int PageSize

private CustomLoginService CustomLoginService => AuthCaller.CustomLoginService;

protected new string? PageName = "CustomLoginBlock";

protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
Expand All @@ -66,8 +64,10 @@ protected override async Task OnAfterRenderAsync(bool firstRender)

protected override void OnInitialized()
{
PageName = "CustomLoginBlock";

base.OnInitialized();

_headers = new List<DataTableHeader<CustomLoginDto>> {
new() { Text = T(nameof(ClientDto.LogoUri)), Value = nameof(ClientDto.LogoUri), Sortable = false, Width="105px" },
new() { Text = T("TitleName"), Value = nameof(CustomLoginDto.Name), Sortable = false},
Expand Down

0 comments on commit 291bb15

Please sign in to comment.