Browse Source

[Fix-10318][ui] Fix EMR Task UI custom parameters Is not correct (#10334)

* Modify useCustomParams isSimple: true
3.1.0-release
guodong 3 years ago committed by GitHub
parent
commit
96496f7255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts

6
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts

@ -35,6 +35,10 @@ export function useEmr(model: { [field: string]: any }): IJsonItem[] {
message: t('project.node.emr_flow_define_json_tips')
}
},
...useCustomParams({ model, field: 'localParams', isSimple: false })
...useCustomParams({
model,
field: 'localParams',
isSimple: true
})
]
}

Loading…
Cancel
Save