Commit 92612354 by liangjianmin

js

parent e971214d
Showing with 0 additions and 4 deletions
...@@ -60,10 +60,6 @@ router.afterEach((to, from, next) => { ...@@ -60,10 +60,6 @@ router.afterEach((to, from, next) => {
}); });
axios.interceptors.response.use(res => { axios.interceptors.response.use(res => {
if (res.data.err_code === 101) {
window.location.href = '/#/login?referer=' + encodeURI(to.path);
history.go(0);
}
return res.data; return res.data;
}, error => { }, error => {
// Message('网络出现问题,请检查网络'); // Message('网络出现问题,请检查网络');
......
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 sign in to comment