@ -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'),
suffix: () => t('project.node.times')
}
@ -35,6 +38,9 @@ export function useFailed(): IJsonItem[] {
field: 'failRetryInterval',
name: t('project.node.failed_retry_interval'),
@ -191,7 +191,8 @@ export function useFlink(model: { [field: string]: any }): IJsonItem[] {
name: t('project.node.task_manager_number'),
span: taskManagerNumberSpan,
placeholder: t('project.node.task_manager_number_tips')
placeholder: t('project.node.task_manager_number_tips'),
min: 1
value: model.taskManager
@ -27,6 +27,9 @@ export function useK8s(model: { [field: string]: any }): IJsonItem[] {
type: 'input-number',
field: 'minCpuCores',
name: t('project.node.min_cpu'),
suffix: () => t('project.node.cores')
@ -36,6 +39,9 @@ export function useK8s(model: { [field: string]: any }): IJsonItem[] {
field: 'minMemorySpace',
name: t('project.node.min_memory'),
suffix: () => t('project.node.mb')
@ -77,7 +77,8 @@ export function useSqoop(model: { [field: string]: any }): IJsonItem[] {
name: t('project.node.concurrency'),
span: unCustomSpan,
placeholder: t('project.node.concurrency_tips')
placeholder: t('project.node.concurrency_tips'),
{