This commit is contained in:
parent
ff4a04285d
commit
f70c058dec
@ -49,7 +49,9 @@ async function token_check() {
|
|||||||
|
|
||||||
if (!token) {
|
if (!token) {
|
||||||
console.log("無 Token,轉跳首頁");
|
console.log("無 Token,轉跳首頁");
|
||||||
router.push("/Home_pages/");
|
router.push("/Home_pages/").then(() => {
|
||||||
|
window.location.reload();
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user