diff --git a/frontend-web/src/pages/deep-research/WorkflowConfigDialog.tsx b/frontend-web/src/pages/deep-research/WorkflowConfigDialog.tsx index 6af9c7bb..33cc7d4a 100644 --- a/frontend-web/src/pages/deep-research/WorkflowConfigDialog.tsx +++ b/frontend-web/src/pages/deep-research/WorkflowConfigDialog.tsx @@ -77,6 +77,7 @@ import { } from "@/strategy-components/api/report-structures"; import { useSkills } from "@/core/skills/hooks"; import { desensitize } from "@/lib/desensitize"; +import { cn } from "@/lib/utils"; // ── shared helpers ─────────────────────────────────────────────────────────── @@ -1213,12 +1214,16 @@ export function WorkflowConfigButton({ return structuresQuery.data?.find((structure) => structure.content.trim() === content)?.title ?? null; }, [appliedContent, structuresQuery.data]); const buttonLabel = selectedWorkflowTitle || "工作流配置"; + const isSelected = Boolean(selectedWorkflowTitle); return ( <>