问题
enter image description here
the response data such like that, how to store the res.imgarr
回答1:
You can use the file-list
data field, which holds the default uploaded files.
Here is the doc: http://element.eleme.io/#/en-US/component/upload
Js Fiddle example: https://jsfiddle.net/h634yrf5/
Check the console log when you add new file in the attached example and you will notice the list of files.
来源:https://stackoverflow.com/questions/52472854/use-element-ui-upload-multiple-pictures-how-to-get-the-picture-path-store-in-img