v3.7.0 防止错误token导致的解析异常
This commit is contained in:
parent
ab420e4120
commit
7e31efcfe2
@ -73,7 +73,7 @@ service.interceptors.response.use(res => {
|
|||||||
location.href = '/index';
|
location.href = '/index';
|
||||||
})
|
})
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
return Promise.reject('error')
|
return Promise.reject()
|
||||||
} else if (code === 500) {
|
} else if (code === 500) {
|
||||||
Message({
|
Message({
|
||||||
message: msg,
|
message: msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user