Commit f7f4ffc7 by 杨北旺

fix:修复列表无限滚动问题

1 parent 54203c94
......@@ -150,7 +150,8 @@ export default {
this.finished = true
}
// 刚好临界点
if(this.paramForm.pageSize==data.total){
const totalPage = parseInt((data.total+this.paramForm.pageSize-1)/this.paramForm.pageSize)
if(totalPage==this.paramForm.pageNum){
this.finished = true
}
this.isNoResult = this.serviceList.length ? false : true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!