Closed scp-nm closed 6 years ago
Hi there,
Thanks for putting together this component - looks like it will be very useful.
Would you be able to put together an example of how this component could be used with Vuex (i.e. upload to a Vuex action)?
Many thanks,
Neil
You can set upload-handler to you Vuex action or create a method to dispatch Vuex action.
upload-handler
@scp-nm I made a online demo:
图片裁剪提交后Request Payload中的 filename = "unknown"
Hi there,
Thanks for putting together this component - looks like it will be very useful.
Would you be able to put together an example of how this component could be used with Vuex (i.e. upload to a Vuex action)?
Many thanks,
Neil