取消code不为200,清除token信息
This commit is contained in:
parent
497c481b3e
commit
64045fad60
|
@ -316,12 +316,12 @@
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
|
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
|
||||||
window.history.back();
|
window.history.back();
|
||||||
sessionStorage.clear();
|
// sessionStorage.clear();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}else{
|
}else{
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
|
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
|
||||||
sessionStorage.clear();
|
// sessionStorage.clear();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -482,12 +482,12 @@
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
|
// window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId')+'&';
|
||||||
window.history.back();
|
window.history.back();
|
||||||
sessionStorage.clear();
|
// sessionStorage.clear();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}else{
|
}else{
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
|
window.location.href = "./index.html?id=" + sessionStorage.getItem('linkId');
|
||||||
sessionStorage.clear();
|
// sessionStorage.clear();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue