refactor: 根据最新依赖包更新 OnUpdate 回调
This commit is contained in:
parent
f4490c3395
commit
2107b70d94
|
@ -3,7 +3,7 @@
|
||||||
<Layout SideWidth="0" IsPage="true" IsFullSide="true" IsFixedHeader="true"
|
<Layout SideWidth="0" IsPage="true" IsFullSide="true" IsFixedHeader="true"
|
||||||
ShowFooter="true" ShowGotoTop="true" ShowCollapseBar="true" Menus="@MenuItems"
|
ShowFooter="true" ShowGotoTop="true" ShowCollapseBar="true" Menus="@MenuItems"
|
||||||
OnAuthorizing="@OnAuthorizing" OnErrorHandleAsync="OnErrorHandleAsync"
|
OnAuthorizing="@OnAuthorizing" OnErrorHandleAsync="OnErrorHandleAsync"
|
||||||
UseTabSet="true" TabDefaultUrl="/Admin/Index" Update="Update">
|
UseTabSet="true" TabDefaultUrl="/Admin/Index" OnUpdate="OnUpdate">
|
||||||
<Header>
|
<Header>
|
||||||
<span class="ms-3 flex-fill">Bootstrap of Blazor</span>
|
<span class="ms-3 flex-fill">Bootstrap of Blazor</span>
|
||||||
<Logout ImageUrl="@Icon" DisplayName="@DisplayName" UserName="@UserName">
|
<Logout ImageUrl="@Icon" DisplayName="@DisplayName" UserName="@UserName">
|
||||||
|
|
|
@ -156,7 +156,7 @@ namespace BootstrapAdmin.Web.Shared
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Task Update(string key)
|
public Task OnUpdate(string key)
|
||||||
{
|
{
|
||||||
if (key == "title")
|
if (key == "title")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue