取消code不为200,清除token信息
This commit is contained in:
parent
497c481b3e
commit
64045fad60
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue