修复登录页面重复调用token导致token失效的bug
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user