瀏覽代碼

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

* Modify useCustomParams isSimple: true
guodong 2 年之前
父節點
當前提交
96496f7255
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts

+ 5 - 1
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
+    })
   ]
 }