fix: 清除缓存

This commit is contained in:
zhangds 2024-02-25 14:48:09 +08:00
parent 0b84535bfc
commit 955c14843a
1 changed files with 0 additions and 2 deletions

View File

@ -158,13 +158,11 @@
key: keyCode, key: keyCode,
theme_type: this.pageType theme_type: this.pageType
}; };
debugger
req.axiosPost('/key/loginFromLink', data).then(res => { req.axiosPost('/key/loginFromLink', data).then(res => {
if (res.code == 200) { if (res.code == 200) {
localStorage.setItem('key', keyCode); localStorage.setItem('key', keyCode);
localStorage.setItem('token', res.data.token); localStorage.setItem('token', res.data.token);
localStorage.setItem('haskey', keyCode); localStorage.setItem('haskey', keyCode);
return
this.openDialog('正在加载商品...'); this.openDialog('正在加载商品...');
localStorage.setItem('entryLink', window.location.href);//存储起始页链接 localStorage.setItem('entryLink', window.location.href);//存储起始页链接