fix(流程表单): 修复 上传多个文件后,下载文件只能下载最后一个文件bug。[I6ICOF](https://gitee.com/KonBAI-Q/ruoyi-flowable-plus/issues/I6ICOF)

This commit is contained in:
konbai
2023-03-04 20:00:00 +08:00
parent 69be51ab0b
commit a00da12f70

View File

@@ -161,10 +161,9 @@ export default {
formData[cur.__vModel__] = fileList;
if (res.code === 200 && fileList) {
config.defaultValue = fileList;
config.defaultValue.forEach(val => {
val.url = file.response.data.url;
val.ossId = file.response.data.ossId;
val.response = null
fileList.forEach(val =>{
val.url = val.response.data.url;
val.ossId = val.response.data.ossId;
})
}
};