diff --git a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx index 3ce3e88..f547c1b 100644 --- a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx +++ b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx @@ -41,8 +41,8 @@ const CONDITION_OPERATOR_OPTIONS = [ { value: "empty", label: "为空" }, ] -const inspectorInputClassName = "h-7 rounded-sm border-slate-200 bg-white px-2 text-xs shadow-none" -const inspectorComboboxClassName = "h-7 rounded-sm border-slate-200 bg-white text-xs shadow-none" +const inspectorInputClassName = "h-8 rounded-sm border-slate-200 bg-white px-2 text-sm shadow-none" +const inspectorComboboxClassName = "h-8 rounded-sm border-slate-200 bg-white text-sm shadow-none" export function NodeConfigPanel({ node, @@ -151,7 +151,7 @@ export function NodeConfigPanel({
{node.data?.title || nodeSpec?.title || node.type}
-
{node.id}
+
{node.id}
{canDelete ? ( } > {branches.length === 0 ? ( -
+
暂无分支。条件节点需要至少一个默认分支或条件分支。
) : null} @@ -316,7 +316,7 @@ function ConditionBranchesEditor({ return (
- + {branch.default ? "ELSE" : "IF"} onDelete(branch.id)} > 删除 @@ -339,7 +339,7 @@ function ConditionBranchesEditor({
-
目标节点
+
目标节点
-