This is an automated email from the ASF dual-hosted git repository. liudongkai pushed a commit to branch 3.0.0-beta-2-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit 3181e1a7ee16eead208f53e51c842830e067eae6 Author: guodong <[email protected]> AuthorDate: Thu Jun 2 18:51:43 2022 +0800 [Fix-10318][ui] Fix EMR Task UI custom parameters Is not correct (#10334) * Modify useCustomParams isSimple: true (cherry picked from commit 96496f72550ec7afca8b3e8a6200641cf386dd80) --- .../src/views/projects/task/components/node/fields/use-emr.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts index b603f8659b..a67b370d18 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts +++ b/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 + }) ] }
