Commit 65bd0f3f authored by 张烨's avatar 张烨

fix: 登录页面调接口失败

parent f6d0675b
......@@ -22,6 +22,7 @@ const bizRedirectHandler = response => {
确定
</Button>
);
if (!/\/user\/login$/.test(window.location.pathname)) {
notification.warning({
key,
title: '提示',
......@@ -33,6 +34,7 @@ const bizRedirectHandler = response => {
window.location.href = `/${BASENAME}/user/login`;
}, 4000);
}
}
};
// 2. 开发级错误信息转换
......
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