mirror of
https://github.com/certd/certd.git
synced 2026-04-29 08:47:24 +08:00
chore:
This commit is contained in:
@@ -182,7 +182,8 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
|
|||||||
const downloadUrl = `${env.API}/pi/history/download?pipelineId=${row.id}&fileId=${file.id}`;
|
const downloadUrl = `${env.API}/pi/history/download?pipelineId=${row.id}&fileId=${file.id}`;
|
||||||
children.push(
|
children.push(
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div class={"flex-o m-5"}>
|
||||||
|
<fs-icon icon={"ant-design:cloud-download-outlined"} class={"mr-5 fs-16"}></fs-icon>
|
||||||
<a href={downloadUrl} target={"_blank"}>
|
<a href={downloadUrl} target={"_blank"}>
|
||||||
{file.filename}
|
{file.filename}
|
||||||
</a>
|
</a>
|
||||||
@@ -197,7 +198,6 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div class={"mt-3"}>
|
<div class={"mt-3"}>
|
||||||
<h3>点击链接下载</h3>
|
|
||||||
<div> {children}</div>
|
<div> {children}</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user