提交 9740a6e4 编写于 作者: X xuhhui 提交者: Jiajie Zhong

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

(cherry picked from commit 198e00db)
上级 7104063e
......@@ -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')
},
......
......@@ -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')
}
......
......@@ -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
},
......
......@@ -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
}
},
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册