Commit c0d16b8f authored by 武广's avatar 武广

fix: 跳转登录

parent 315b92db
...@@ -125,10 +125,11 @@ request.interceptors.response.use(async (response, options) => { ...@@ -125,10 +125,11 @@ request.interceptors.response.use(async (response, options) => {
notification.warning({ notification.warning({
message: data.msg, message: data.msg,
}); });
if (isTob) { if (!isTob) {
localStorage.remove('tobToken');
} else {
window.location.href = loginPath; window.location.href = loginPath;
} else {
window.parent.location.hash = '#login';
window.parent.reload();
} }
} }
if (data.businessCode && data.businessCode !== '0000' && !options.notTip) { if (data.businessCode && data.businessCode !== '0000' && !options.notTip) {
......
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