order number 8.19

This commit is contained in:
2020-08-19 11:21:31 +08:00
parent bea615253c
commit 86d765d6ba
5 changed files with 99 additions and 80 deletions

View File

@@ -301,18 +301,10 @@ export default {
})
},
async getOrderList({ load = 'reload' } = {}) {
// const res = await this.$u.api.getSendOrderList({
// page: this.page,
// })
const res = await this.$u.api.getOrderList({
const res = await this.$u.api.getSendOrderList({
page: this.page,
})
this.timer = true;
// if(res.errCode == 0) {
// if(load == 'reload') this.orderList = res.data.order_list;
// else this.orderList.push(...res.data.order_list);
// }
// return res.data.order_list.length;
if(res.errCode == 0) {
if(load == 'reload') this.orderList = res.data;
else this.orderList.push(...res.data);