diff --git a/src/pages/flowEditor/components/nodeContent.tsx b/src/pages/flowEditor/components/nodeContent.tsx index edecb8e..996b454 100644 --- a/src/pages/flowEditor/components/nodeContent.tsx +++ b/src/pages/flowEditor/components/nodeContent.tsx @@ -196,7 +196,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => {
{dataIns.map((input, index) => (
- {input.name || `输入${index + 1}`} + {input.id || `输入${index + 1}`}
))}
@@ -206,7 +206,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => {
{dataOuts.map((output, index) => (
- {output.name || `输出${index + 1}`} + {output.id || `输出${index + 1}`}
))}