From 0a7e605319d4e3a8e13b66984c06c437412532be Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Sun, 29 Sep 2024 18:19:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A1=B6=E6=A0=8F?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Table/Table.razor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/Table/Table.razor.cs b/src/BootstrapBlazor/Components/Table/Table.razor.cs index aa101981e9c..ad3f66d870e 100644 --- a/src/BootstrapBlazor/Components/Table/Table.razor.cs +++ b/src/BootstrapBlazor/Components/Table/Table.razor.cs @@ -737,8 +737,6 @@ protected override void OnInitialized() // 初始化节点缓存 TreeNodeCache ??= new(Equals); - SearchModel = CreateTItem(); - OnInitLocalization(); // 设置 OnSort 回调方法 @@ -860,6 +858,8 @@ private void OnInitParameters() TreeExpandIcon ??= IconTheme.GetIconByKey(ComponentIcons.TableTreeExpandIcon); TreeNodeLoadingIcon ??= IconTheme.GetIconByKey(ComponentIcons.TableTreeNodeLoadingIcon); AdvancedSortButtonIcon ??= IconTheme.GetIconByKey(ComponentIcons.TableAdvancedSortButtonIcon); + + SearchModel ??= CreateTItem(); } /// From cb9b14cbd0f04bf4d6f050397904277c307c0414 Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Sun, 29 Sep 2024 18:19:41 +0800 Subject: [PATCH 2/2] chore: bump version 8.10.2-beta01 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index f481b948e34..7fa0a472304 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 8.10.1 + 8.10.2-beta01