mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
фывфывфыв
This commit is contained in:
1 parent
47fb655a96
commit
e8529ee92a
46 files changed
+2514
-919
No files matched your search
@@ -0,0 +1,22 @@
|
||||
@page "/IframePage"
|
||||
|
||||
<iframe src="@iframeUrl" style="width: 100%; height: 100%; border: none;" />
|
||||
|
||||
@code {
|
||||
[SupplyParameterFromQuery]
|
||||
public string? url { get; set; }
|
||||
|
||||
private string iframeUrl = "";
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(url))
|
||||
{
|
||||
iframeUrl = url;
|
||||
}
|
||||
else
|
||||
{
|
||||
iframeUrl = "http://localhost:5197/scalar/";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user