Axios request goes to catch block when it sees response status code in range of 400 and 500

前端 未结 0 1392
醉话见心
醉话见心 2020-12-13 10:00

When server sends status code in range of 400 and 500 , axios skips the .then() block and directly goes to the catch block. But when server sends anything with status code i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题