Commit bf81e1b1 by liuguorong93

201错误跳转到登陆页

parent c944f8c2
......@@ -72,7 +72,7 @@ axios.interceptors.response.use(
);
// console.log('88888', window.location.host);
var self = this
if (status == "401") {
if (status == "401" || status == "201") {
MessageBox.confirm("系统登录超时,请重新登录", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -80,7 +80,7 @@ axios.interceptors.response.use(
})
.then((res) => {
route.replace({
path: "/Login/login2"
path: "/"
});
// if (relUrlIp == '172.20.0.240') {
// // window.open('http://47.92.225.109:8300/#/login', '_blank')
......
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