修复登录页面重复调用token导致token失效的bug

This commit is contained in:
唐明明
2022-06-15 16:07:25 +08:00
parent fe178cc98c
commit 7d8b0994f5
127 changed files with 167 additions and 31 deletions

View File

@@ -87,21 +87,9 @@
refunds({
page: this.page
}).then(res => {
console.log(res)
if (res.page.current === 1) {
this.array = []
}
// let ordersArr = res.data.map(val => {
// return {
// no: val.order_no,
// cover: val.items[0].sku.cover,
// name: val.items[0].sku.goods_name,
// price: val.total,
// sum: val.items[0].qty,
// stateText: val.state,
// cans: val.can
// }
// })
}
uni.stopPullDownRefresh();
this.array = this.array.concat(res.data);
this.status = res.page.has_more ? 'loadmore' : 'nomore';