标签:bsp lse select 批量 current batch mpp 分页显示 ati
1.解决批量删除超过当前页数据10,分页显示无法回到第一页的bug
getPeople(){
}
batchDelete(ids:any){
...
let tmp = this.selectedRowKeys.length
let tmpPage = 1
if(tmp<this.data.length){
tmpPage = this.pagination.current == 1? 1 : this.pagination.current
}else{
tmpPage = this.pagination.current - 1
getPeople({current: tmpPage})
this.selectedRowKeys = []
}
标签:bsp lse select 批量 current batch mpp 分页显示 ati
原文地址:https://www.cnblogs.com/hustxychen/p/13525310.html