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,