From 2ac96d78d7db5c704595ab97b1747d7f1743bcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Mon, 22 Sep 2025 16:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=8E=A5=E5=8F=A3=E4=B8=8D?= =?UTF-8?q?=E7=A8=B3=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow/use-workflow-data.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index e9c3fbb..1b12bf6 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -696,6 +696,8 @@ export function useWorkflowData({ onEditPlanGenerated, editingStatus, onExportFa } catch (error) { console.error('初始化失败:', error); setDataLoadError('加载失败,请重试'); + // 设置是否需要获取流式数据 + setNeedStreamData(true); setState({ mode: 'automatic' as 'automatic' | 'manual' | 'auto', originalText: '',