|
|
|
|
@ -286,7 +286,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => {
|
|
|
|
|
color: group ? group.color : '#000'
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
{isValidData(input) ? (input.name || input.id || `输入${index + 1}`) : ''}
|
|
|
|
|
{isValidData(input) ? `${input.name || input.id} ${input?.dataType}` : ''}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
})}
|
|
|
|
|
@ -307,7 +307,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => {
|
|
|
|
|
color: group ? group.color : '#000'
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
{isValidData(output) ? (output.name || output.id || `输出${index + 1}`) : ''}
|
|
|
|
|
{isValidData(output) ? `${output.dataType} ${output.name || output.id}` : ''}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
})}
|
|
|
|
|
|