!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:
Argo 2022-02-11 00:50:18 +00:00
parent a35694f7e3
commit 9641edb93d
2 changed files with 1 additions and 2 deletions

View File

@ -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'">

View File

@ -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;
} }