Commit 7d113242 by zhaochengxiang

重定向

parent 0f8b66c9
......@@ -105,7 +105,7 @@ const callback = resp => {
if (resp.status === 401) {
showMessage('warn', 'session过期,请重新登录!');
window.location.href = isSzseEnv?`/api/auth/oauth/login?redirecturl=${window.location.href}`:"/center-home/view/login"
window.location.href = isSzseEnv?`/api/auth/oauth/login?redirecturl=${window.location.href}`:`/center-home/view/login?redirecturl=${window.location.href}`
return null;
}
......
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