From 48adb9ab837d468f04ede6c198ca049dcab09e3e Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 13 Mar 2024 16:34:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9token=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;