Browse Source

修复微信绑定

shenjj 7 years ago
parent
commit
53a99a1cd9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/mobile/wechat/index.vue

+ 1 - 0
pages/mobile/wechat/index.vue

@@ -79,6 +79,7 @@
         if (info.openid) {
           this.$store.dispatch('GerWechatInfo', {code: '', openId: info.openid})
         } else {
+          localStorage.removeItem('USOFTMALLWECHATINFO')
           window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb3274b676737a319&redirect_uri=https://www.usoftmall.com/mobile/wechat&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
         }
       } else {