From bc647c5e5e95f3898e3af66c02d7911df8547b4e Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Sun, 29 Mar 2020 17:28:51 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/nsjcy/frontEnd/nsjcy --- SunshineIns/src/page/ExamineEdit.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SunshineIns/src/page/ExamineEdit.jsx b/SunshineIns/src/page/ExamineEdit.jsx index ea11120..63d228e 100644 --- a/SunshineIns/src/page/ExamineEdit.jsx +++ b/SunshineIns/src/page/ExamineEdit.jsx @@ -69,7 +69,7 @@ ...res, }, loading: false, - fileList: res.list ? res.list.map((item, index) => ({ uid: index, id: item.id, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.id}?online=false` })) : [] + fileList: res.list ? res.list.map((item, index) => ({ uid: uid, id: item.uid, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.uid}?online=false` })) : [] }); }) @@ -249,7 +249,7 @@ showRemoveIcon: false }, onDownload: (file) => { - Fetch.attachmentDownload(file.id) + Fetch.attachmentDownload(file.uid) .then(res => { message.success("下载成功!"); }); -- Gitblit v1.8.0