mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-11-29 18:48:50 +08:00
fix(module: table): should flush cache only pagging (#3620)
This commit is contained in:
parent
8585feb5d0
commit
5d02b0b53e
@ -18,6 +18,8 @@ namespace AntDesign
|
||||
|
||||
private void FinishLoadPage()
|
||||
{
|
||||
FlushCache();
|
||||
|
||||
if (_selection == null)
|
||||
return;
|
||||
|
||||
|
@ -311,7 +311,7 @@ namespace AntDesign
|
||||
{
|
||||
ResetData();
|
||||
|
||||
PageIndex = 1;
|
||||
ChangePageIndex(1);
|
||||
|
||||
this.ReloadAndInvokeChange();
|
||||
}
|
||||
@ -718,11 +718,7 @@ namespace AntDesign
|
||||
{
|
||||
// Do not render until initialisation is complete.
|
||||
this._shouldRender = this._shouldRender && _hasInitialized;
|
||||
if (_shouldRender)
|
||||
{
|
||||
FlushCache(); // clear the selection state after pages was changed outside
|
||||
|
||||
}
|
||||
return this._shouldRender;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user