Commit ba42b1fd authored by renjintao's avatar renjintao

request

parent 7d8c4305
......@@ -134,7 +134,7 @@ service.interceptors.response.use(
},
error => {
const token = sessionStorage.getItem('token');
if (!token&&!error && !error.response) {
if (!token&&!error.response) {
window.location.href = '/account/login';
return;
}
......
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