Browse Source

fix: Current node settings number of failed retries may not be negative (#10530)

(cherry picked from commit 198e00db58)
3.0.0/version-upgrade
xuhhui 2 years ago committed by Jiajie Zhong
parent
commit
9740a6e42f
  1. 3
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-delay-time.ts
  2. 6
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-failed.ts
  3. 3
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts
  4. 3
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop.ts

3
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-delay-time.ts

@ -25,6 +25,9 @@ export function useDelayTime(model: { [field: string]: any }): IJsonItem {
field: 'delayTime',
name: t('project.node.delay_execution_time'),
span: 12,
props: {
min: 0
},
slots: {
suffix: () => t('project.node.minute')
},

6
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-failed.ts

@ -26,6 +26,9 @@ export function useFailed(): IJsonItem[] {
field: 'failRetryTimes',
name: t('project.node.number_of_failed_retries'),
span: 12,
props: {
min: 0
},
slots: {
suffix: () => t('project.node.times')
}
@ -35,6 +38,9 @@ export function useFailed(): IJsonItem[] {
field: 'failRetryInterval',
name: t('project.node.failed_retry_interval'),
span: 12,
props: {
min: 0
},
slots: {
suffix: () => t('project.node.minute')
}

3
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts

@ -191,7 +191,8 @@ export function useFlink(model: { [field: string]: any }): IJsonItem[] {
name: t('project.node.task_manager_number'),
span: taskManagerNumberSpan,
props: {
placeholder: t('project.node.task_manager_number_tips')
placeholder: t('project.node.task_manager_number_tips'),
min: 1
},
value: model.taskManager
},

3
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop.ts

@ -77,7 +77,8 @@ export function useSqoop(model: { [field: string]: any }): IJsonItem[] {
name: t('project.node.concurrency'),
span: unCustomSpan,
props: {
placeholder: t('project.node.concurrency_tips')
placeholder: t('project.node.concurrency_tips'),
min: 1
}
},
{

Loading…
Cancel
Save