refactor: 优化 HeaderBase 组件性能
This commit is contained in:
parent
5812d7a3a8
commit
a028c1fbf8
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue