From ad2669d05d9901dea9af888dab60f299a410da32 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Mon, 21 Mar 2022 22:56:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=20ShowLabelToolt?= =?UTF-8?q?ip=20=E9=BB=98=E8=AE=A4=20false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Attributes/AutoGenerateColumnAttribute.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs b/src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs index 862124521..c7e3fc0d4 100644 --- a/src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs +++ b/src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs @@ -49,10 +49,16 @@ public class AutoGenerateColumnAttribute : AutoGenerateBaseAttribute, ITableColu public bool IsReadonlyWhenEdit { get; set; } /// - /// 获得/设置 是否显示标签 Tooltip 多用于标签文字过长导致裁减时使用 默认 null + /// 获得/设置 是否显示标签 Tooltip 多用于标签文字过长导致裁减时使用 默认 false /// [Parameter] - public bool? ShowLabelTooltip { get; set; } + public bool ShowLabelTooltip { get; set; } + + bool? IEditorItem.ShowLabelTooltip + { + get => ShowLabelTooltip; + set => ShowLabelTooltip = value.HasValue && value.Value ? true : false; + } /// /// 获得/设置 是否为默认排序规则 默认为 SortOrder.Unset -- Gitee From 3468f7fc6f369af46df870cbb43607409fc0c81b Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Mon, 21 Mar 2022 22:57:09 +0800 Subject: [PATCH 2/2] chore: bump version beta02 --- 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 e4aac4cc3..338d81f42 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 6.4.7-beta01 + 6.4.7-beta02 -- Gitee