Cambio wait
This commit is contained in:
@@ -225,6 +225,7 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
isLoading = RecMSE == null;
|
||||
isMobile = await JSRuntime.InvokeAsync<bool>("isDevice");
|
||||
await Task.Delay(1);
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
@@ -242,6 +243,7 @@ namespace MP_TAB3.Components
|
||||
{
|
||||
imgBasePath = $"{Environment.CurrentDirectory}/images/";
|
||||
}
|
||||
await Task.Delay(1);
|
||||
}
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
|
||||
@@ -139,7 +139,7 @@ namespace MP_TAB3.Pages
|
||||
setDefaults();
|
||||
TDFeeder.dataPipe.EA_NewMessage += DataPipe_EA_NewMessage;
|
||||
Random rnd = new Random();
|
||||
await Task.Delay(rnd.Next(100, 200));
|
||||
await Task.Delay(rnd.Next(1, 50));
|
||||
SetupConf();
|
||||
var LastOpenedPage = await MsgServ.LastOpenedPageGet();
|
||||
var currMacc = await MsgServ.IdxMaccGet();
|
||||
|
||||
Reference in New Issue
Block a user