From ebc727e4fd282e229230739fb077a6cbb5a58abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Mon, 24 Aug 2026 17:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/deep-research/WorkflowConfigDialog.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ( <>