From 96add12e8b8f2f9caa6e2b1af5edd1b7ddbdfe4e Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 13 Mar 2024 13:51:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9key?= 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 b7484e0..c0f618f 100644 --- a/index.html +++ b/index.html @@ -312,9 +312,11 @@ }, 2000); if (res.code == 200) { - this.wxgzAuth(res.data.is_have_webview_voucher); + localStorage.setItem('key', self.key); + this.wxgzAuth(res.data.is_have_webview_voucher); + localStorage.setItem('token', res.data.token); this.openDialog('正在加载商品...'); localStorage.setItem('entryLink', window.location.href);//存储起始页链接