Browse Source

[Fix][UI Next] Fix the corresponding incorrect field.

3.0.0/version-upgrade
labbomb 3 years ago committed by GitHub
parent
commit
209aa0a0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
  2. 3
      dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts
  3. 3
      dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts

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

@ -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

3
dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts

@ -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[] = []

3
dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts

@ -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…
Cancel
Save