fix: 清除缓存
This commit is contained in:
parent
0b84535bfc
commit
955c14843a
|
@ -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);//存储起始页链接
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue