runningTree的笔误
This commit is contained in:
parent
4dd557e812
commit
e7b70d000e
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue