fix: defaultFlowId由后端生成

pull/655/head
Lesan 2025-01-09 09:04:22 +08:00
parent 0c433552f9
commit 4741f3737f
1 changed files with 1 additions and 2 deletions

View File

@ -247,8 +247,7 @@ const addNode = (type: number) => {
name: NODE_DEFAULT_NAME.get(NodeType.ROUTE_BRANCH_NODE) as string, name: NODE_DEFAULT_NAME.get(NodeType.ROUTE_BRANCH_NODE) as string,
showText: '', showText: '',
type: NodeType.ROUTE_BRANCH_NODE, type: NodeType.ROUTE_BRANCH_NODE,
childNode: props.childNode, childNode: props.childNode
defaultFlowId: 'Flow_' + generateUUID()
} }
emits('update:childNode', data) emits('update:childNode', data)
} }