From 6b12f45b39ab3298540dd7d9b3b7a92f97471c8e Mon Sep 17 00:00:00 2001 From: wanghx Date: Fri, 19 Jan 2024 14:55:04 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20=E5=AF=BC=E5=87=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=8B=E8=BD=BD=E5=AD=97=E6=AE=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/Header/downloadModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Header/downloadModal.jsx b/src/components/layout/Header/downloadModal.jsx index 241c1aa..daeaff9 100644 --- a/src/components/layout/Header/downloadModal.jsx +++ b/src/components/layout/Header/downloadModal.jsx @@ -33,7 +33,7 @@ function DownloadModal (props) { width: 200, align: 'center', dataIndex: 'progress', - render: (progress) => ((progress || 0) * 100) + '%' + render: (progress) => ((progress || 0)) + '%' }, { title: '文件大小', @@ -83,7 +83,7 @@ function DownloadModal (props) {
{ record.status == 2 ? ( -
handleDownload(record.url)}>下载
+
handleDownload(record.file_url)}>下载
) : null }
handleDel(record)}>删除