From 07cd7aba27df129b5aeadb49a236ee2b3016bf35 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, 8 Sep 2025 18:20:22 +0800 Subject: [PATCH] initializing --- components/pages/work-flow/task-info.tsx | 4 ++-- components/pages/work-flow/use-workflow-data.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/pages/work-flow/task-info.tsx b/components/pages/work-flow/task-info.tsx index 4b99c26..b32184b 100644 --- a/components/pages/work-flow/task-info.tsx +++ b/components/pages/work-flow/task-info.tsx @@ -214,10 +214,10 @@ export function TaskInfo({ {taskObject?.title ? ( <> - {taskObject?.title || 'loading project info...'} + {taskObject?.title || 'initializing project...'} - ) : 'loading project info...'} + ) : 'initializing project...'} {/* 主题 彩色标签tags */} diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index 17e069d..587f92f 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -68,7 +68,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps = // 更新 taskObject 的类型 const [taskObject, setTaskObject] = useState(tempTaskObject.current); const [currentSketchIndex, setCurrentSketchIndex] = useState(0); - const [currentLoadingText, setCurrentLoadingText] = useState('loading project info...'); + const [currentLoadingText, setCurrentLoadingText] = useState('initializing project...'); const [dataLoadError, setDataLoadError] = useState(null); const [needStreamData, setNeedStreamData] = useState(false); const [isPauseWorkFlow, setIsPauseWorkFlow] = useState(false); @@ -508,7 +508,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps = originalText: '', isLoading: true }); - setCurrentLoadingText('loading project info...'); + setCurrentLoadingText('initializing project...'); // 获取剧集详情 const response = await detailScriptEpisodeNew({ project_id: episodeId });