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',
field: field,
name: t(`project.node.${name}`),
class: 'btn-custom-parameters',
span,
children: [
{
type: 'input',
field: 'prop',
span: 6,
class: 'input-param-key',
props: {
placeholder: t('project.node.prop_tips'),
maxLength: 256
@ -134,6 +136,7 @@ export function useCustomParams({
type: 'input',
field: 'value',
span: 6,
class: 'input-param-value',
props: {
placeholder: t('project.node.value_tips'),
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
}
},
...useCustomParams({ model, field: 'localParams', isSimple: true })
...useCustomParams({ model, field: 'localParams', isSimple: false })
]
}

Loading…
Cancel
Save