From e06ac7542b194753aadc6e81d0ac4f9429689dd5 Mon Sep 17 00:00:00 2001 From: lxy Date: Thu, 2 Jan 2025 18:17:40 +0800 Subject: [PATCH] =?UTF-8?q?listNode=20removeFilter=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E7=A9=BAtotal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/runningTree.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/runningTree.ts b/src/features/runningTree.ts index 82d222e9..6da4de06 100644 --- a/src/features/runningTree.ts +++ b/src/features/runningTree.ts @@ -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(); }