Commit fadb3892 by Archer Committed by GitHub

fix: loop node cannot save parentId (#2845)

parent 7c38d1da
......@@ -25,6 +25,7 @@ import { ParentIdType } from 'common/parentFolder/type';
import { AppTypeEnum } from 'core/app/constants';
export type FlowNodeCommonType = {
parentNodeId?: string;
flowNodeType: FlowNodeTypeEnum; // render node card
abandon?: boolean; // abandon node
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment