|
@@ -172,7 +172,7 @@ export default {
|
|
|
//下拉刷新
|
|
|
if (this.hasLogin) {
|
|
|
this.GetWxAuthorize()
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
uni.stopPullDownRefresh()
|
|
|
}
|
|
|
},
|
|
@@ -197,6 +197,10 @@ export default {
|
|
|
.catch(err => {
|
|
|
// 缓存游客openid
|
|
|
uni.setStorageSync('openid', err.data.openid)
|
|
|
+ this.paymentCount = 0 //待付款
|
|
|
+ this.waitShipmentsCount = 0 //待收货
|
|
|
+ this.shipmentsCount = 0 //已发货
|
|
|
+ this.salesReturnCount = 0
|
|
|
this.logout()
|
|
|
this.refresh = true
|
|
|
this.isRequest = true
|