fix: 修改key

This commit is contained in:
zhangds 2024-03-13 13:51:25 +08:00
parent 6147ea86de
commit 96add12e8b
1 changed files with 3 additions and 1 deletions

View File

@ -312,9 +312,11 @@
}, 2000); }, 2000);
if (res.code == 200) { if (res.code == 200) {
this.wxgzAuth(res.data.is_have_webview_voucher);
localStorage.setItem('key', self.key); localStorage.setItem('key', self.key);
this.wxgzAuth(res.data.is_have_webview_voucher);
localStorage.setItem('token', res.data.token); localStorage.setItem('token', res.data.token);
this.openDialog('正在加载商品...'); this.openDialog('正在加载商品...');
localStorage.setItem('entryLink', window.location.href);//存储起始页链接 localStorage.setItem('entryLink', window.location.href);//存储起始页链接