el-pagination切换条数请求两次
2020-05-29 本文已影响0人
小话梅噢
最笨的拦截,在请求之前使用
if(this.query.pageSize*(this.query.pageNumber-1) >= this.total && this.total != 0){
return;
}
最笨的拦截,在请求之前使用
if(this.query.pageSize*(this.query.pageNumber-1) >= this.total && this.total != 0){
return;
}