use element ui upload Multiple pictures how to get the picture path store in imgarr arrary

爱⌒轻易说出口 提交于 2021-01-29 10:57:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!