diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj
index 28000fb5..8a05759d 100644
--- a/MP.INVE/MP.INVE.csproj
+++ b/MP.INVE/MP.INVE.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.INVE
- 6.16.2211.1417
+ 6.16.2211.1509
diff --git a/MP.INVE/Pages/Starter.razor b/MP.INVE/Pages/Starter.razor
index 75eba1b5..47b44abf 100644
--- a/MP.INVE/Pages/Starter.razor
+++ b/MP.INVE/Pages/Starter.razor
@@ -1,9 +1,42 @@
@page "/Starter"
+@inject IJSRuntime JSRuntime
Starter
-
+
+
+@*
*@
@code {
+ [Inject]
+ private IConfiguration Configuration { get; set; } = null!;
+
+ protected override async Task OnAfterRenderAsync(bool firstRender)
+ {
+ if (firstRender)
+ {
+ await JSRuntime.InvokeVoidAsync("clearContent", $"qrCodeImg_{101}");
+ await JSRuntime.InvokeVoidAsync("displayQr", $"qrCodeImg_{101}", rawCode);
+ }
+ }
+
+ protected string BaseUrlTab
+ {
+ get => $"{Configuration["ServerConf:BaseUrl"]}";
+ }
+
+
+ protected string rawCode
+ {
+ get
+ {
+ string answ = "";
+ answ = $"{BaseUrlTab}MatrOpr={101}&UserAuthKey={12345}";
+ return answ;
+ }
+ }
+
}
diff --git a/MP.INVE/Pages/_Layout.cshtml b/MP.INVE/Pages/_Layout.cshtml
index f3fee0c1..f7a5c3fa 100644
--- a/MP.INVE/Pages/_Layout.cshtml
+++ b/MP.INVE/Pages/_Layout.cshtml
@@ -58,5 +58,9 @@
});
});
+
+
+
+