From 1a4e96c4a1cb7b527c75daa278a5ca52f257a40d Mon Sep 17 00:00:00 2001 From: zhangds Date: Sun, 28 Apr 2024 11:16:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=98=AF=E7=94=9F=E6=88=90=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/bmDownloadList/index.jsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/pages/order/bmDownloadList/index.jsx b/src/pages/order/bmDownloadList/index.jsx index 2a3d72ee..c2741730 100644 --- a/src/pages/order/bmDownloadList/index.jsx +++ b/src/pages/order/bmDownloadList/index.jsx @@ -98,7 +98,7 @@ const BmDownload = () => { case 4: return 生成失败 default: - return "-" + return 0 } } @@ -181,13 +181,19 @@ const BmDownload = () => { )} - deleteDownLoadTask(rowData.id)} - > - 删除 - + {rowData.status === 3 || rowData.status === 4 ? ( + deleteDownLoadTask(rowData.id)} + > + 删除 + + ) : ( + + 删除 + + )} ) }