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)}
+ >
+ 删除
+
+ ) : (
+
+ 删除
+
+ )}
)
}