Commit f786fccf authored by chenshouchao's avatar chenshouchao

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

parent a3af50d4
...@@ -133,11 +133,6 @@ const ProjectSubmitWork = observer(() => { ...@@ -133,11 +133,6 @@ const ProjectSubmitWork = observer(() => {
} }
}, [navigate]); }, [navigate]);
const outputPathTransform = (path: string) => {
path = path.slice(1);
return path;
};
const getOutouts = (outputs: any) => { const getOutouts = (outputs: any) => {
if (outputs) { if (outputs) {
let result = Object.keys(outputs); let result = Object.keys(outputs);
...@@ -450,9 +445,7 @@ const ProjectSubmitWork = observer(() => { ...@@ -450,9 +445,7 @@ const ProjectSubmitWork = observer(() => {
// goToProjectData(workFlowJobInfo?.outputPath as string) // goToProjectData(workFlowJobInfo?.outputPath as string)
}} }}
> >
{workFlowJobInfo?.outputPath {workFlowJobInfo?.outputPath || "-"}
? outputPathTransform(workFlowJobInfo?.outputPath)
: "-"}
</div> </div>
</div> </div>
<div className={styles.taskInfoLi}> <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