update:提交流程更新
This commit is contained in:
@@ -790,11 +790,18 @@ const getNodeFileIdAndNames = async () => {
|
||||
fileIds.push(list[i].id.toString());
|
||||
fileNames.push(list[i].originalName);
|
||||
}
|
||||
if (flowNodeParamData.value.nodeExeCommand) {
|
||||
taskCmdParam[flowNodeParamData.value.nodeExeCommand] = fileNames.join(',');
|
||||
// = fileNames.map((item: any) => {
|
||||
// return { [flowNodeParamData.value.nodeExeCommand]: item };
|
||||
// });
|
||||
} else {
|
||||
taskCmdParam = {};
|
||||
}
|
||||
|
||||
taskCmdParam = fileNames.map((item: any) => {
|
||||
return { '-i': item };
|
||||
});
|
||||
|
||||
if (Object.keys(flowNodeData.value.userParams).includes('--export')) {
|
||||
taskCmdParam['--export'] = flowNodeData.value.userParams['--export'];
|
||||
}
|
||||
return {
|
||||
fileIds,
|
||||
fileNames,
|
||||
|
||||
Reference in New Issue
Block a user