📜  axios 400 错误请求 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:17.100000             🧑  作者: Mango

代码示例1
if (error.response){

//do something

}else if(error.request){

//do something else

}else if(error.message){

//do something other than the other two

}