📅  最后修改于: 2022-03-11 15:03:09.338000             🧑  作者: Mango
axios.interceptors.response.use(response => {
return response;
}, error => {
if (error.response.status === 401) {
//place your reentry code
}
return error;
});