fix(流程表单): 修复 上传多个文件后,下载文件只能下载最后一个文件bug。[I6ICOF](https://gitee.com/KonBAI-Q/ruoyi-flowable-plus/issues/I6ICOF)
This commit is contained in:
@@ -161,10 +161,9 @@ export default {
|
|||||||
formData[cur.__vModel__] = fileList;
|
formData[cur.__vModel__] = fileList;
|
||||||
if (res.code === 200 && fileList) {
|
if (res.code === 200 && fileList) {
|
||||||
config.defaultValue = fileList;
|
config.defaultValue = fileList;
|
||||||
config.defaultValue.forEach(val => {
|
fileList.forEach(val =>{
|
||||||
val.url = file.response.data.url;
|
val.url = val.response.data.url;
|
||||||
val.ossId = file.response.data.ossId;
|
val.ossId = val.response.data.ossId;
|
||||||
val.response = null
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user