取消code不为200,清除token信息

This commit is contained in:
red-deng-deng 2021-12-28 12:07:56 +08:00
parent 497c481b3e
commit 64045fad60
1 changed files with 4 additions and 4 deletions

View File

@ -316,12 +316,12 @@
setTimeout(() => {
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
window.history.back();
sessionStorage.clear();
// sessionStorage.clear();
}, 3000);
}else{
setTimeout(() => {
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
sessionStorage.clear();
// sessionStorage.clear();
}, 3000);
}
}
@ -482,12 +482,12 @@
setTimeout(() => {
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
window.history.back();
sessionStorage.clear();
// sessionStorage.clear();
}, 3000);
}else{
setTimeout(() => {
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
sessionStorage.clear();
// sessionStorage.clear();
}, 3000);
}
}