fix: 增加判断如果是生成中

This commit is contained in:
zhangds 2024-04-28 11:16:14 +08:00
parent 663b0a3809
commit 1a4e96c4a1
1 changed files with 14 additions and 8 deletions

View File

@ -98,7 +98,7 @@ const BmDownload = () => {
case 4:
return <span>生成失败</span>
default:
return "-"
return 0
}
}
@ -181,6 +181,7 @@ const BmDownload = () => {
</a>
)}
{rowData.status === 3 || rowData.status === 4 ? (
<a
className="grid-link"
style={{ paddingLeft: "2px", color: "red" }}
@ -188,6 +189,11 @@ const BmDownload = () => {
>
删除
</a>
) : (
<a className="grid-link" style={{ paddingLeft: "2px", color: "#ccc" }}>
删除
</a>
)}
</span>
)
}