runningTree的笔误

This commit is contained in:
Xu Chang 2023-11-29 15:10:47 +08:00
parent 4dd557e812
commit e7b70d000e
3 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ class ListNode extends Node {
}
onCacheSync(records) {
// 只需要处理当listNode为首页且插入/删除项满足条件的情况
if (this.loading || this.pagination.currentPage !== 1) {
if (this.loading || this.pagination.currentPage !== 0) {
return;
}
let needReRender = false;

View File

@ -187,7 +187,7 @@ class ListNode extends Node {
}
onCacheSync(records) {
// 只需要处理当listNode为首页且插入/删除项满足条件的情况
if (this.loading || this.pagination.currentPage !== 1) {
if (this.loading || this.pagination.currentPage !== 0) {
return;
}
let needReRender = false;

View File

@ -267,7 +267,7 @@ class ListNode<
onCacheSync(records: OpRecord<ED>[]) {
// 只需要处理当listNode为首页且插入/删除项满足条件的情况
if (this.loading || this.pagination.currentPage !== 1) {
if (this.loading || this.pagination.currentPage !== 0) {
return;
}
let needReRender = false;