未验证 提交 936ea993 编写于 作者: A Amy0104 提交者: GitHub

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

上级 197accc6
......@@ -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(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册