From f39bc9d667e68526c79387d754e6304a80825ef5 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Tue, 24 Mar 2020 22:07:59 +0800 Subject: [PATCH] 提交 --- SunshineIns/src/page/ApplyForEdit.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SunshineIns/src/page/ApplyForEdit.jsx b/SunshineIns/src/page/ApplyForEdit.jsx index 7a102bd..bd5a04b 100644 --- a/SunshineIns/src/page/ApplyForEdit.jsx +++ b/SunshineIns/src/page/ApplyForEdit.jsx @@ -242,7 +242,7 @@ }, fileList: fileList, onDownload: (file) => { - Fetch.attachmentDownload(file.id) + Fetch.attachmentDownload(file.uid) .then(res => { message.success("下载成功!"); }); @@ -294,7 +294,7 @@ </div> { - savedate ? + savedate.status ? <div style={{ display: 'flex', justifyContent: 'center' }}> <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> </div> -- Gitblit v1.8.0