q-uploader and vuex?
-
Hi!
I’ve successfully used q-uploader to send an image to my backend with additionalFields, but now I’m struggling with a more complex scenario.In my Vuex store I have my actions with the method “addPeople” that correctly uses the vue resource call to send the data to the API.
But, how could use q-uploader component to dispatch the action of the vuex to send the image with the additionalFields?
My tries are aiming the method
postUpload (event) { },
is it the right direction?I hope someone can understand my problem, if not, I’ll try again
-
@Diferno said in q-uploader and vuex?:
n my Vuex store I
hi, Diferno can you plz share your code how you configure additionalFields in q-uploader. and how you receive that field from server side.
thanks.