Skip to content

Commit 1de2207

Browse files
committed
refactor: 增加显示实现逻辑
1 parent 124f84b commit 1de2207

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,11 @@ public class AutoGenerateColumnAttribute : AutoGenerateBaseAttribute, ITableColu
319319
/// <summary>
320320
/// <inheritdoc/>
321321
/// </summary>
322-
public bool? IgnoreWhenExport { get; set; }
322+
public bool IgnoreWhenExport { get; set; }
323+
324+
bool? ITableColumn.IgnoreWhenExport
325+
{
326+
get => IgnoreWhenExport;
327+
set => IgnoreWhenExport = value ?? false;
328+
}
323329
}

0 commit comments

Comments
 (0)