This is an automated email from the ASF dual-hosted git repository.
wanggenhua pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 96496f7255 [Fix-10318][ui] Fix EMR Task UI custom parameters Is not
correct (#10334)
96496f7255 is described below
commit 96496f72550ec7afca8b3e8a6200641cf386dd80
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
---
.../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
+ })
]
}