From 7f312a45ee06013fa531cb60a04afb9c4d8a26c8 Mon Sep 17 00:00:00 2001 From: Xc Date: Thu, 26 Dec 2024 16:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/features/runningTree.js | 2 +- lib/features/runningTree.js | 2 +- src/features/runningTree.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/es/features/runningTree.js b/es/features/runningTree.js index 22f6439d..edf263af 100644 --- a/es/features/runningTree.js +++ b/es/features/runningTree.js @@ -930,7 +930,7 @@ class ListNode extends EntityNode { const filter = filters2 ? combineFilters(this.entity, this.schema, filters2) : undefined; const { currentPage, pageSize } = this.pagination; // 只有当没有计算过total或者有新的filter才需要显示的查找total - const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !!ele.applied); + const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !ele.applied); return { data, filter, diff --git a/lib/features/runningTree.js b/lib/features/runningTree.js index 2001cf5b..e1d413ac 100644 --- a/lib/features/runningTree.js +++ b/lib/features/runningTree.js @@ -933,7 +933,7 @@ class ListNode extends EntityNode { const filter = filters2 ? (0, filter_1.combineFilters)(this.entity, this.schema, filters2) : undefined; const { currentPage, pageSize } = this.pagination; // 只有当没有计算过total或者有新的filter才需要显示的查找total - const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !!ele.applied); + const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !ele.applied); return { data, filter, diff --git a/src/features/runningTree.ts b/src/features/runningTree.ts index c4670870..33ddcaa1 100644 --- a/src/features/runningTree.ts +++ b/src/features/runningTree.ts @@ -1162,7 +1162,7 @@ class ListNode< const { currentPage, pageSize } = this.pagination; // 只有当没有计算过total或者有新的filter才需要显示的查找total - const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !!ele.applied); + const needGetTotal = this.pagination.total === undefined || !!this.filters.find(ele => !ele.applied); return { data, filter,