Open lokize opened 4 years ago
It works using axios.
Use the @upload-success
prop to call your own method:
for example:
@upload-success="setImages"
setImages(formData, index, fileList) {
const data = fileList[index].path; // <- this is your image data-uri encoded
this.$api.post('/upload', {data});
},
hi, how to upload image to a folder with this plugin?