Commit f7c62d0a authored by chenshouchao's avatar chenshouchao

feat: 提交任务接口传参取值优化

parent 6369e109
......@@ -118,6 +118,8 @@ const ProjectSubmitWork = () => {
let value: string = "";
if (Array.isArray(parameter.value)) {
value = parameter.value.join(",");
} else {
value = parameter.value;
}
if (
parameter.domType.toLowerCase() === "path" ||
......@@ -137,7 +139,10 @@ const ProjectSubmitWork = () => {
});
submitWorkFlowRun({
name,
outputPath,
outputPath:
outputPath === "ProjectData"
? "/home/cloudam"
: `/home/cloudam${outputPath.slice(11)}`,
projectId: projectId as string,
specId: templateConfigInfo?.id as string,
promotedParameters,
......
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