优化分页
parent
d2ff91b761
commit
bee6a247bc
|
@ -125,7 +125,7 @@ class Request extends Component {
|
|||
this.list = this.#list
|
||||
.filter(it => it.id.includes(filter) && (waited ? it.stat === 1 : true))
|
||||
.slice(start, end)
|
||||
this.total = this.list.length
|
||||
this.total = (filter || waited ? this.list : this.#list).length
|
||||
}
|
||||
|
||||
#pageChanged(ev) {
|
||||
|
|
Loading…
Reference in New Issue