0

I am using Vuejs file input component. Whenever I input the file console.log shows the following object structure for the uploaded image:

enter image description here

I used

 const formData = new FormData()
 console.log(formData.append('files', value))

where the value was above object but it returns undefined

How can use fileReader or formData e.g. to upload the file from this object? The mentioned answer is not helpful...

NewTech Lover
  • 1,009
  • 3
  • 19
  • 36

0 Answers0