refactor: 优化 HeaderBase 组件性能

This commit is contained in:
Argo Zhang 2020-02-11 12:33:09 +08:00 committed by argo zhang
parent 5812d7a3a8
commit a028c1fbf8
1 changed files with 3 additions and 1 deletions

View File

@ -47,9 +47,11 @@ namespace Bootstrap.Admin.Pages.Components
/// <summary>
/// 参数赋值方法
/// </summary>
protected override void OnParametersSet()
public override System.Threading.Tasks.Task SetParametersAsync(ParameterView parameters)
{
parameters.SetParameterProperties(this);
EnableBlazor = DictHelper.RetrieveEnableBlazor();
return base.SetParametersAsync(ParameterView.Empty);
}
}
}