Commit a00cf3ff by xue_wengang

超时修改

parent 344c61d8
...@@ -90,7 +90,7 @@ axios.interceptors.response.use( ...@@ -90,7 +90,7 @@ axios.interceptors.response.use(
window.location.href = 'http://localhost:8080/#/login'; window.location.href = 'http://localhost:8080/#/login';
} else { } else {
store.dispatch('user/logout') store.dispatch('user/logout')
window.location.href = 'http://zhyy.xzxt.an:8080/index' window.location.href = 'http://26.120.5.124'
} }
}) })
} }
...@@ -150,7 +150,7 @@ instance.interceptors.response.use( ...@@ -150,7 +150,7 @@ instance.interceptors.response.use(
// window.location.href = 'http://localhost:8080/#/login'; // window.location.href = 'http://localhost:8080/#/login';
// } // }
store.dispatch('user/logout') store.dispatch('user/logout')
window.location.href = 'http://zhyy.xzxt.an:8080/index' window.location.href = 'http://26.120.5.124'
}) })
} }
if (status < 0) { if (status < 0) {
...@@ -188,7 +188,7 @@ json.interceptors.response.use( ...@@ -188,7 +188,7 @@ json.interceptors.response.use(
window.location.href = 'http://localhost:8080/#/login'; window.location.href = 'http://localhost:8080/#/login';
} else { } else {
store.dispatch('user/logout') store.dispatch('user/logout')
window.location.href = 'http://zhyy.xzxt.an:8080/index' window.location.href = 'http://26.120.5.124'
} }
}) })
......
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