Browse Source

[Fix][UI Next][V1.0.0-Alpha] Add direct and type into the custom par… (#9081)

* [Fix][UI Next][V1.0.0-Alpha] Add direct and type  into the custom parameters  in shell.

* [Fix][UI Next][V1.0.0-Alpha] Add the classes for e2e.
3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
73ca831cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts
  2. 2
      dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts

3
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts

@ -88,12 +88,14 @@ export function useCustomParams({
type: 'custom-parameters', type: 'custom-parameters',
field: field, field: field,
name: t(`project.node.${name}`), name: t(`project.node.${name}`),
class: 'btn-custom-parameters',
span, span,
children: [ children: [
{ {
type: 'input', type: 'input',
field: 'prop', field: 'prop',
span: 6, span: 6,
class: 'input-param-key',
props: { props: {
placeholder: t('project.node.prop_tips'), placeholder: t('project.node.prop_tips'),
maxLength: 256 maxLength: 256
@ -134,6 +136,7 @@ export function useCustomParams({
type: 'input', type: 'input',
field: 'value', field: 'value',
span: 6, span: 6,
class: 'input-param-value',
props: { props: {
placeholder: t('project.node.value_tips'), placeholder: t('project.node.value_tips'),
maxLength: 256 maxLength: 256

2
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts

@ -68,6 +68,6 @@ export function useShell(model: { [field: string]: any }): IJsonItem[] {
loading loading
} }
}, },
...useCustomParams({ model, field: 'localParams', isSimple: true }) ...useCustomParams({ model, field: 'localParams', isSimple: false })
] ]
} }

Loading…
Cancel
Save