diff --git a/src/BloodGroupNode/index.tsx b/src/BloodGroupNode/index.tsx index c196f69..e6acb70 100644 --- a/src/BloodGroupNode/index.tsx +++ b/src/BloodGroupNode/index.tsx @@ -1,6 +1,6 @@ import { ArtboardTitle, getClsFromSelectType } from '@/BloodNode'; -import { NodeMapItem, NodeSelect, ProFlowNode } from '@/ProFlow/constants'; -import { ProFlowNodeData } from '@/constants'; +import { NodeMapItem, NodeSelect } from '@/ProFlow/constants'; +import { ProFlowNode, ProFlowNodeData } from '@/constants'; import { cx } from 'antd-style'; import React from 'react'; import { useStyles } from './styles'; diff --git a/src/constants.tsx b/src/constants.tsx index f22d824..ab72426 100644 --- a/src/constants.tsx +++ b/src/constants.tsx @@ -25,7 +25,7 @@ export interface ProFlowEdge { id: string; source: string; target: string; - select: NodeSelect; + select?: NodeSelect; type?: EdgeType; }