From ecc0ba653d6ddc78483588f2e6f768bd1183c0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E9=AA=A5?= <1429614920@qq.com> Date: Tue, 17 Dec 2024 10:35:01 +0800 Subject: [PATCH] add IsReset to SelectTree --- src/BootstrapBlazor/Components/Select/SelectTree.razor | 2 +- src/BootstrapBlazor/Components/Select/SelectTree.razor.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/Components/Select/SelectTree.razor b/src/BootstrapBlazor/Components/Select/SelectTree.razor index acf35fb66b6..acc8699ee51 100644 --- a/src/BootstrapBlazor/Components/Select/SelectTree.razor +++ b/src/BootstrapBlazor/Components/Select/SelectTree.razor @@ -20,7 +20,7 @@ @if (!IsPopover) { diff --git a/src/BootstrapBlazor/Components/Select/SelectTree.razor.cs b/src/BootstrapBlazor/Components/Select/SelectTree.razor.cs index 3c8fd4b4ff7..e23586c4a97 100644 --- a/src/BootstrapBlazor/Components/Select/SelectTree.razor.cs +++ b/src/BootstrapBlazor/Components/Select/SelectTree.razor.cs @@ -120,6 +120,12 @@ public partial class SelectTree : IModelEqualityComparer [Parameter] public bool IsEditable { get; set; } + /// + /// 获得/设置 页面刷新是否重置已加载数据 默认 false + /// + [Parameter] + public bool IsReset { get; set; } + [Inject] [NotNull] private IStringLocalizer>? Localizer { get; set; }