In Blazor server, how to force all awaited tasks in OnInitializedAsync to complete before rendering page, avoiding any loading placeholders

后端 未结 0 1493
庸人自扰
庸人自扰 2021-02-02 04:16

Here\'s my code:

public List Accounts { get; set; }

[CascadingParameter]
Task AuthState { get; set; }

[Inject]
IAccoun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题