mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 13:39:39 +08:00
!2409 fix(#I4SSN2): not keep selected rows states when use dynamic context in Table component
* chore: bump version 6.3.1-beta01 * fix: 修复 SelectedRows 被重置问题
This commit is contained in:
parent
a35694f7e3
commit
9641edb93d
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>6.3.0</Version>
|
<Version>6.3.1-beta01</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||||
|
@ -667,7 +667,6 @@ public partial class Table<TItem>
|
|||||||
Columns.Clear();
|
Columns.Clear();
|
||||||
Columns.AddRange(cols);
|
Columns.AddRange(cols);
|
||||||
|
|
||||||
SelectedRows.Clear();
|
|
||||||
QueryItems = DynamicContext.GetItems().Cast<TItem>();
|
QueryItems = DynamicContext.GetItems().Cast<TItem>();
|
||||||
RowItemsCache = null;
|
RowItemsCache = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user