修正了一个笔误

This commit is contained in:
Xu Chang 2024-12-26 16:36:38 +08:00
parent e757aa827b
commit 7f312a45ee
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,