listNode removeFilter时清空total

This commit is contained in:
lxy 2025-01-02 18:17:40 +08:00
parent 982016d452
commit e06ac7542b
1 changed files with 4 additions and 2 deletions

View File

@ -784,8 +784,9 @@ class ListNode<
if (fIndex >= 0) {
this.filters.splice(fIndex, 1);
}
this.pagination.total = undefined;
if (refresh) {
this.refresh(0, false, true);
this.refresh(0, false);
} else {
this.publish();
}
@ -797,8 +798,9 @@ class ListNode<
if (fIndex >= 0) {
this.filters.splice(fIndex, 1);
}
this.pagination.total = undefined;
if (refresh) {
this.refresh(0, false, true);
this.refresh(0, false);
} else {
this.publish();
}