Commit 716304c3 authored by zhanglongbao's avatar zhanglongbao

fix

parent 521a9f8d
...@@ -64,7 +64,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -64,7 +64,7 @@ router.beforeEach(async (to, from, next) => {
await login(); await login();
token = getToken()!; token = getToken()!;
} else { } else {
if (!getToken()) { if (!getUrlKey("token")) {
setToken(token); setToken(token);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment