mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 13:37:35 +08:00
fix(module: table): Table tree children limit remove (#1345)
This commit is contained in:
parent
d64388c0ab
commit
941f58cc65
@ -146,7 +146,6 @@ RenderFragment<(Table<TItem> table, IEnumerable<TItem> showItems, int level)> bo
|
||||
var table = context.table;
|
||||
var showItems = context.showItems;
|
||||
var level = context.level;
|
||||
var count = Math.Min(showItems.Count(), table._dataSourceCount);
|
||||
}
|
||||
|
||||
@if (table._total <= 0)
|
||||
@ -159,7 +158,7 @@ RenderFragment<(Table<TItem> table, IEnumerable<TItem> showItems, int level)> bo
|
||||
}
|
||||
else if (showItems != null && table.ColumnContext.Columns.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < count; i++)
|
||||
for (int i = 0; i < showItems.Count(); i++)
|
||||
{
|
||||
var rowIndex = table.PageSize * (table.PageIndex - 1) + i + 1;
|
||||
var data = showItems.ElementAt(i);
|
||||
|
Loading…
Reference in New Issue
Block a user