Why making an async call in the OnInitialized method causes Blazor to jump to OnAfterRender?

后端 未结 0 1919
故里飘歌
故里飘歌 2020-12-14 04:37

Consider this terribly simple component:

@page "/"
@inject IJSRuntime JS

@code {
    protected override async Task OnInitializedAsync()
    {
              


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