|
|
@ -321,7 +321,10 @@ export function formatParams(data: INodeData): { |
|
|
|
taskGroupId: data.taskGroupId, |
|
|
|
taskGroupId: data.taskGroupId, |
|
|
|
taskGroupPriority: data.taskGroupPriority, |
|
|
|
taskGroupPriority: data.taskGroupPriority, |
|
|
|
taskParams: { |
|
|
|
taskParams: { |
|
|
|
localParams: data.localParams, |
|
|
|
localParams: data.localParams?.map((item: any) => { |
|
|
|
|
|
|
|
item.value = item.value || '' |
|
|
|
|
|
|
|
return item |
|
|
|
|
|
|
|
}), |
|
|
|
rawScript: data.rawScript, |
|
|
|
rawScript: data.rawScript, |
|
|
|
resourceList: data.resourceList?.length |
|
|
|
resourceList: data.resourceList?.length |
|
|
|
? data.resourceList.map((id: number) => ({ id })) |
|
|
|
? data.resourceList.map((id: number) => ({ id })) |
|
|
|