Browse Source

[Fix][UI Next][V1.0.0-Alpha]Fix default display of node name in sub process node. (#9075)

3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
936ea99303
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

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

@ -54,6 +54,7 @@ export function useChildNode({
loading.value = false
if (!model.processDefinitionCode) {
model.processDefinitionCode = options.value[0].value
if (!model.name) model.name = options.value[0].label
}
}
const getProcessListByCode = async (processCode: number) => {
@ -63,7 +64,7 @@ export function useChildNode({
}
const onChange = (code: number, options: { label: string }) => {
model.name = options.label
if (!model.name) model.name = options.label
}
onMounted(() => {

Loading…
Cancel
Save