refactor: 根据最新依赖包更新 OnUpdate 回调

This commit is contained in:
Argo-Tianyi 2022-01-23 21:20:08 +08:00
parent f4490c3395
commit 2107b70d94
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<Layout SideWidth="0" IsPage="true" IsFullSide="true" IsFixedHeader="true"
ShowFooter="true" ShowGotoTop="true" ShowCollapseBar="true" Menus="@MenuItems"
OnAuthorizing="@OnAuthorizing" OnErrorHandleAsync="OnErrorHandleAsync"
UseTabSet="true" TabDefaultUrl="/Admin/Index" Update="Update">
UseTabSet="true" TabDefaultUrl="/Admin/Index" OnUpdate="OnUpdate">
<Header>
<span class="ms-3 flex-fill">Bootstrap of Blazor</span>
<Logout ImageUrl="@Icon" DisplayName="@DisplayName" UserName="@UserName">

View File

@ -156,7 +156,7 @@ namespace BootstrapAdmin.Web.Shared
/// <summary>
///
/// </summary>
public Task Update(string key)
public Task OnUpdate(string key)
{
if (key == "title")
{