mirror of https://github.com/certd/certd
chore:
parent
454fbda581
commit
79914e8d08
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue