登录判断
This commit is contained in:
parent
acda64cbfa
commit
ec9d8982d6
|
@ -30,6 +30,7 @@ const resetTimer = () => {
|
|||
}
|
||||
let backurl = window.location.href;
|
||||
tools.data.set("backUrl", backurl);
|
||||
tools.data.remove('token');
|
||||
router.replace({
|
||||
path: "/guide",
|
||||
});
|
||||
|
|
|
@ -40,6 +40,7 @@ axios.interceptors.response.use(
|
|||
|
||||
let backurl=window.location.href;
|
||||
tools.data.set("backUrl",backurl);
|
||||
tools.data.remove('token');
|
||||
router.replace({
|
||||
path: "/guide",
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue