listNode removeFilter时清空total
This commit is contained in:
parent
982016d452
commit
e06ac7542b
|
|
@ -784,8 +784,9 @@ class ListNode<
|
||||||
if (fIndex >= 0) {
|
if (fIndex >= 0) {
|
||||||
this.filters.splice(fIndex, 1);
|
this.filters.splice(fIndex, 1);
|
||||||
}
|
}
|
||||||
|
this.pagination.total = undefined;
|
||||||
if (refresh) {
|
if (refresh) {
|
||||||
this.refresh(0, false, true);
|
this.refresh(0, false);
|
||||||
} else {
|
} else {
|
||||||
this.publish();
|
this.publish();
|
||||||
}
|
}
|
||||||
|
|
@ -797,8 +798,9 @@ class ListNode<
|
||||||
if (fIndex >= 0) {
|
if (fIndex >= 0) {
|
||||||
this.filters.splice(fIndex, 1);
|
this.filters.splice(fIndex, 1);
|
||||||
}
|
}
|
||||||
|
this.pagination.total = undefined;
|
||||||
if (refresh) {
|
if (refresh) {
|
||||||
this.refresh(0, false, true);
|
this.refresh(0, false);
|
||||||
} else {
|
} else {
|
||||||
this.publish();
|
this.publish();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue