Browse Source

无修改

yuwenjun 3 years ago
parent
commit
ef976f27ae
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/index/index.vue

+ 5 - 1
pages/index/index.vue

@@ -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