Trying to add an image file to state in React to be able to send to backend with FormData and Axios

后端 未结 0 1628
遥遥无期
遥遥无期 2020-12-17 02:09

I have a form with inputs for adding an image and text to my DB

See 2 functions below one for handlng the text inputs and another for handling the photo file



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