Skip to content

Commit fe1bc46

Browse files
committed
refactor: 显示控制逻辑
1 parent be5ede0 commit fe1bc46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BootstrapBlazor/Dynamic/DataTableDynamicContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ private static bool GetShownColumns(ITableColumn col, IEnumerable<string>? invis
109109
/// <returns></returns>
110110
public override IEnumerable<IDynamicObject> GetItems()
111111
{
112+
if (!UseCache)
113+
{
114+
Items = null;
115+
}
112116
Items ??= BuildItems();
113117
return Items;
114118
}

0 commit comments

Comments
 (0)