diff --git a/index.html b/index.html index b275008..b49ff23 100644 --- a/index.html +++ b/index.html @@ -257,6 +257,7 @@ // 静默授权 wxgzAuth(is_have_webview_voucher, token) { console.log("token 1111 =>", token); + debugger /* 公众号打开 */ if (is_have_webview_voucher && !this.openid) { const key = localStorage.getItem('key'); @@ -383,10 +384,11 @@ }; let wait = await req.axiosPost('/key/loginFromMobileKey', data).then(res => { if (res.code == 200) { - this.wxgzAuth(res.data.is_have_webview_voucher, item); + form_data_res = res; getTokenList.push(res.data.token); istoGoods = true; + this.wxgzAuth(res.data.is_have_webview_voucher, res.data.token); } else { if (res.message == '活动暂停中') { self.tiptext = res.message;