diff --git a/web/app/dashboard/ai-workflows/_components/workflow-editor.tsx b/web/app/dashboard/ai-workflows/_components/workflow-editor.tsx index 13e68ca..f73d178 100644 --- a/web/app/dashboard/ai-workflows/_components/workflow-editor.tsx +++ b/web/app/dashboard/ai-workflows/_components/workflow-editor.tsx @@ -996,13 +996,14 @@ function WorkflowConnectionLine({ fromX, fromY, toX, toY }: ConnectionLineCompon - + ) } @@ -1217,7 +1218,7 @@ function WorkflowCanvasNode({ id, data, selected }: NodeProps) return ( ) - - + + + + {hasIssue ? ( + + ) : ( + + )} + + + {data.name ?? data.title} + {data.title} + + + + + 输入 {data.inputCount ?? 0} + 输出 {data.outputCount ?? 0} + {hasIssue ? ( - + + 缺少输入:{missingInputs.join("、")} + ) : ( - + + 配置完整 + )} - - {data.name ?? data.title} - {data.title} - - - - - 输入 {data.inputCount ?? 0} - 输出 {data.outputCount ?? 0} - - {hasIssue ? ( - - 缺少输入:{missingInputs.join("、")} - - ) : ( - - 配置完整 - - )}