From 96496f72550ec7afca8b3e8a6200641cf386dd80 Mon Sep 17 00:00:00 2001 From: guodong Date: Thu, 2 Jun 2022 18:51:43 +0800 Subject: [PATCH] [Fix-10318][ui] Fix EMR Task UI custom parameters Is not correct (#10334) * Modify useCustomParams isSimple: true --- .../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 + }) ] }