mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 20:28:03 +08:00
[Fix][UI Next][V1.0.0-Alpha] Fix worklfow localParams null error (#9190)
This commit is contained in:
parent
c6e0882113
commit
3ca0986acf
@ -321,7 +321,10 @@ export function formatParams(data: INodeData): {
|
||||
taskGroupId: data.taskGroupId,
|
||||
taskGroupPriority: data.taskGroupPriority,
|
||||
taskParams: {
|
||||
localParams: data.localParams,
|
||||
localParams: data.localParams?.map((item: any) => {
|
||||
item.value = item.value || ''
|
||||
return item
|
||||
}),
|
||||
rawScript: data.rawScript,
|
||||
resourceList: data.resourceList?.length
|
||||
? data.resourceList.map((id: number) => ({ id }))
|
||||
|
Loading…
Reference in New Issue
Block a user