修改统计上店铺不加载bug 修改统计图antV加载数据不齐全bug

This commit is contained in:
lemon橪
2021-08-10 16:50:55 +08:00
parent 06a6b77d2e
commit 783c6df0a4
7 changed files with 10 additions and 9 deletions

View File

@@ -71,8 +71,9 @@ export default {
methods: {
// 页面触底
handleReachBottom() {
setTimeout(() => {
if (this.params.pageNumber * this.params.pageSize <= this.total) {
if (this.params.pageNumber * this.params.pageSize <= this.shopTotal) {
this.params.pageNumber++;
this.getShopList();
}