From 97fe752a4e95c4e58cc3ba7f4895652a9ee07e8e Mon Sep 17 00:00:00 2001 From: Diego2098 <2248356998@qq.com> Date: Mon, 29 Apr 2024 02:13:39 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!22=20:?= =?UTF-8?q?=20fix:=20=E5=A2=9E=E5=8A=A0=20fill=20=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E4=BF=9D=E8=AF=81=E5=B0=8F=E5=B1=8F=E5=B9=95=E6=97=B6=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E9=9D=A0=E5=8F=B3'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ThingsGateway.Admin.Razor/Components/AdminTable.razor.cs | 5 +++++ src/ThingsGateway.Gateway.Razor/MainLayout.razor | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ThingsGateway.Admin.Razor/Components/AdminTable.razor.cs b/src/ThingsGateway.Admin.Razor/Components/AdminTable.razor.cs index d589b21ab..0d899c030 100644 --- a/src/ThingsGateway.Admin.Razor/Components/AdminTable.razor.cs +++ b/src/ThingsGateway.Admin.Razor/Components/AdminTable.razor.cs @@ -308,4 +308,9 @@ public partial class AdminTable where TItem : class, new() [NotNull] private string? EmptyText { get; set; } + + protected override void OnInitialized() + { + base.OnInitialized(); + } } diff --git a/src/ThingsGateway.Gateway.Razor/MainLayout.razor b/src/ThingsGateway.Gateway.Razor/MainLayout.razor index 799948daa..271e32a96 100644 --- a/src/ThingsGateway.Gateway.Razor/MainLayout.razor +++ b/src/ThingsGateway.Gateway.Razor/MainLayout.razor @@ -17,7 +17,6 @@ AdditionalAssemblies=App.RazorAssemblies AllowDragTab=true UseTabSet="false" TabDefaultUrl="/">
-
@* 搜索框 *@ @@ -25,9 +24,13 @@ @* 语言选择 *@ + @* 主题切换 *@ + + + @* 全屏按钮 *@