Skip to content

Commit 38f5241

Browse files
committed
refactor: 重构代码
1 parent eb8ab3d commit 38f5241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public class AutoGenerateColumnAttribute : AutoGenerateBaseAttribute, ITableColu
127127
bool? IEditorItem.ShowLabelTooltip
128128
{
129129
get => ShowLabelTooltip;
130-
set => ShowLabelTooltip = value.HasValue && value.Value;
130+
set => ShowLabelTooltip = value ?? false;
131131
}
132132

133133
/// <summary>

0 commit comments

Comments
 (0)