荣成市住房和城乡建设局网站,网页设计案例图片,建网站是不是免费的,设计资料网站想要的效果是 用户一次选择的文件一个接口上传完毕#xff0c;但是element ui 里面是上传了多次一次一个文件的形式上传的为4参数的接口调用了 多次执行的上传#xff0c;我想上传一次 多个文件的 怎么实现呢#xff1f;因为element ui 里面的列表和我们的需求不一致 我重写…想要的效果是 用户一次选择的文件一个接口上传完毕但是element ui 里面是上传了多次一次一个文件的形式上传的为4参数的接口调用了 多次执行的上传我想上传一次 多个文件的 怎么实现呢因为element ui 里面的列表和我们的需求不一致 我重写了一个列表classupload-demorefuploaddrag:dataAobject:on-successhandleAvatarSuccess:auto-uploadfalse:before-removebeforeRemove:show-file-listfalse:on-changehandleChange:on-removehandleRemove:actionactionUrlmultiple:on-exceedonExceed:limitlimit将文件拖到此处或点击上传 {{item.name}}FileList 是用户每次选择文件的时候我push进去数据handleChange(res, file){ //未上传但是选择了文件触发let Statusnull;this.TitleNameDisplaytrue;this.TitleNameres.name;this.Arrayafile;Statusthis.wenjian(res.name);if(res.status ready){ //刚刚添加文件this.FileList.push({name:res.name.substring(0, res.name.lastIndexOf(.)),status:Status,wait:false,Success:false})}if(this.Name null ||this.Name undefined){this.Namethis.FileList[0].name;}},当用户提交的时候执行了scuuse(){this.Zhuantrue;const _idthis.$route.query.id;const _thisthis;for(var i0;ithis.FileList[i].wait true;}let promise new Promise(function(resolve, reject) {_this.actionUrl/chaoyang/api/dailyInfo/createDailyInfo/${_id};_this.Aobject.name_this.Name;//提交文件时候一并传递过 输入的标题文字resolve();});promise.then(function() {_this.$refs.upload.submit();});}请问用element ui 怎么实现 一个接口上传多个文件呢