forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-25 ec511e31e01a195bfea5145f9e7e929a68cd9f7e
SunshineIns/src/page/ApplyForEdit.jsx
@@ -69,7 +69,7 @@
                    },
                    disabled: res.status ? true : false,
                    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: item.uid, id: item.uid, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.uid}?online=false` })) : []
                });
            })
@@ -242,6 +242,7 @@
            },
            fileList: fileList,
            onDownload: (file) => {
                console.log(file)
                Fetch.attachmentDownload(file.uid)
                    .then(res => {
                        message.success("下载成功!");