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

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

View File

@ -338,7 +338,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }
@ -448,7 +448,7 @@ export default {
container: "pvChart", container: "pvChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }
this.initPvChart(); this.initPvChart();
@ -466,7 +466,7 @@ export default {
container: "historyMemberChart", container: "historyMemberChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }

View File

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

View File

@ -189,7 +189,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }
this.initMemberChart(); this.initMemberChart();

View File

@ -525,7 +525,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }

View File

@ -197,7 +197,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }
this.initChart(); this.initChart();

View File

@ -527,7 +527,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }

View File

@ -203,7 +203,7 @@ export default {
container: "orderChart", container: "orderChart",
autoFit: true, autoFit: true,
height: 500, height: 500,
padding: [70, 35, 70, 35], padding: [70, 70, 70, 70],
}); });
} }
this.initChart(); this.initChart();