This is an automated email from the ASF dual-hosted git repository.
songjian 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 73ca831 [Fix][UI Next][V1.0.0-Alpha] Add direct and type into the
custom par… (#9081)
73ca831 is described below
commit 73ca831cb4c678ad7110676a473c6fbb117cb38e
Author: Amy0104 <[email protected]>
AuthorDate: Thu Mar 24 12:09:25 2022 +0800
[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.
---
.../views/projects/task/components/node/fields/use-custom-params.ts | 3 +++
.../src/views/projects/task/components/node/fields/use-shell.ts | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts
b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts
index 2f8309b..22b45d3 100644
---
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts
+++
b/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
diff --git
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts
b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts
index 09e0a03..2d19508 100644
---
a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts
+++
b/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 })
]
}