[Fix][UI Next] Fix the corresponding incorrect field.
parent
922283ee9c
commit
209aa0a0bf
|
|
@ -28,14 +28,12 @@ import { number } from 'echarts'
|
|||
export function useChildNode({
|
||||
model,
|
||||
projectCode,
|
||||
isCreate,
|
||||
from,
|
||||
processName,
|
||||
code
|
||||
}: {
|
||||
model: { [field: string]: any }
|
||||
projectCode: number
|
||||
isCreate: boolean
|
||||
from?: number
|
||||
processName?: number
|
||||
code?: number
|
||||
|
|
@ -134,7 +132,6 @@ export function useChildNode({
|
|||
name: t('project.node.child_node'),
|
||||
props: {
|
||||
loading: loading,
|
||||
disabled: !isCreate,
|
||||
'on-update:value': onChange
|
||||
},
|
||||
options: options
|
||||
|
|
|
|||
|
|
@ -35,14 +35,13 @@ export function usePigeon({
|
|||
flag: 'YES',
|
||||
description: '',
|
||||
timeoutFlag: false,
|
||||
localParams: [],
|
||||
environmentCode: null,
|
||||
failRetryInterval: 1,
|
||||
failRetryTimes: 0,
|
||||
workerGroup: 'default',
|
||||
delayTime: 0,
|
||||
timeout: 30,
|
||||
rawScript: ''
|
||||
targetJobName: ''
|
||||
} as INodeData)
|
||||
|
||||
let extra: IJsonItem[] = []
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export function useSubProcess({
|
|||
workerGroup: 'default',
|
||||
delayTime: 0,
|
||||
timeout: 30,
|
||||
rawScript: ''
|
||||
processDefinitionCode: ''
|
||||
} as INodeData)
|
||||
|
||||
let extra: IJsonItem[] = []
|
||||
|
|
@ -74,7 +74,6 @@ export function useSubProcess({
|
|||
Fields.useChildNode({
|
||||
model,
|
||||
projectCode,
|
||||
isCreate: !data?.id,
|
||||
from,
|
||||
processName: data?.processName,
|
||||
code: data?.code
|
||||
|
|
|
|||
Loading…
Reference in New Issue