Commit a486f27d by zhaochengxiang

重定向

parent 7d113242
......@@ -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?redirecturl=${window.location.href}`
window.location.href = isSzseEnv?`/api/auth/oauth/login?redirectURL=${encodeURIComponent(window.location.href)}`:`/center-home/view/login?redirectURL==${encodeURIComponent(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