diff --git a/src/admin/Bootstrap.Admin/Pages/Components/DefaultLayoutComponentBase.cs b/src/admin/Bootstrap.Admin/Pages/Components/DefaultLayoutComponentBase.cs
index 649773b4..4625a2ee 100644
--- a/src/admin/Bootstrap.Admin/Pages/Components/DefaultLayoutComponentBase.cs
+++ b/src/admin/Bootstrap.Admin/Pages/Components/DefaultLayoutComponentBase.cs
@@ -113,11 +113,10 @@ namespace Bootstrap.Admin.Pages.Components
}
///
- /// 设置参数方法
+ /// OnParametersSetAsync 方法
///
- public override Task SetParametersAsync(ParameterView parameters)
+ protected override void OnParametersSet()
{
- parameters.SetParameterProperties(this);
if (NavigationManager != null)
{
RequestUrl = new UriBuilder(NavigationManager.Uri).Path;
@@ -125,11 +124,10 @@ namespace Bootstrap.Admin.Pages.Components
DisplayName = Model.DisplayName;
HomeUrl = NavigationManager.ToBlazorLink(HomeUrl);
}
- return base.SetParametersAsync(ParameterView.Empty);
}
///
- ///
+ /// 显示名称变化时方法
///
public void OnDisplayNameChanged(string displayName)
{
@@ -139,7 +137,7 @@ namespace Bootstrap.Admin.Pages.Components
}
///
- ///
+ /// OnAfterRender 方法
///
///
protected override void OnAfterRender(bool firstRender)