Commit f786fccf authored by chenshouchao's avatar chenshouchao

feat: 任务详情输出路径展示优化

parent a3af50d4
......@@ -133,11 +133,6 @@ const ProjectSubmitWork = observer(() => {
}
}, [navigate]);
const outputPathTransform = (path: string) => {
path = path.slice(1);
return path;
};
const getOutouts = (outputs: any) => {
if (outputs) {
let result = Object.keys(outputs);
......@@ -450,9 +445,7 @@ const ProjectSubmitWork = observer(() => {
// goToProjectData(workFlowJobInfo?.outputPath as string)
}}
>
{workFlowJobInfo?.outputPath
? outputPathTransform(workFlowJobInfo?.outputPath)
: "-"}
{workFlowJobInfo?.outputPath || "-"}
</div>
</div>
<div className={styles.taskInfoLi}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment