fix: loop node cannot save parentId (#2845)

This commit is contained in:
Archer
2024-09-30 17:58:17 +08:00
committed by GitHub
parent 7c38d1da9a
commit fadb389294
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ export const uiWorkflow2StoreWorkflow = ({
}) => {
const formatNodes: StoreNodeItemType[] = nodes.map((item) => ({
nodeId: item.data.nodeId,
parentNodeId: item.data.parentNodeId,
name: item.data.name,
intro: item.data.intro,
avatar: item.data.avatar,