Axios when posting to api there isn't a response returned, but the error handling works if there is an error in the URL

前端 未结 0 1294
清酒与你
清酒与你 2020-12-03 15:10

I am posting to my API and where it should return a response nothing is logged to the console.

I have the following code:

import React, {useState} from         


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