From 5c393f2ecd2d856f2d5136d9d3a3aa1f807ef54c 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: Sun, 20 Jul 2025 12:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=88=86=E7=B2=BE=E5=89=AA/=E7=B2=97?= =?UTF-8?q?=E5=89=AAloading=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow/task-info.tsx | 2 +- components/pages/work-flow/use-workflow-data.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/pages/work-flow/task-info.tsx b/components/pages/work-flow/task-info.tsx index 80fc9b3..26780f2 100644 --- a/components/pages/work-flow/task-info.tsx +++ b/components/pages/work-flow/task-info.tsx @@ -170,7 +170,7 @@ export function TaskInfo({ setIsScriptModalOpen(true); setCurrentStage(3); } - if (currentLoadingText.includes('video')) { + if (currentLoadingText.includes('video') && !currentLoadingText.includes('Post-production')) { console.log('isScriptModalOpen-video', currentLoadingText, isScriptModalOpen); if (isScriptModalOpen) { setIsScriptModalOpen(false); diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index 38ab793..d54d028 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -253,7 +253,7 @@ export function useWorkflowData() { // 暂时没有音频生成 直接跳过 finalStep = '5'; - loadingText = LOADING_TEXT_MAP.postProduction('post-production...'); + loadingText = LOADING_TEXT_MAP.postProduction('generating rough cut video...'); } } // 粗剪 @@ -263,7 +263,7 @@ export function useWorkflowData() { url: task.task_result.video, }) finalStep = '5.5'; - loadingText = LOADING_TEXT_MAP.postProduction('post-production...'); + loadingText = LOADING_TEXT_MAP.postProduction('generating fine-grained video clips...'); } } // 最终剪辑 @@ -457,7 +457,7 @@ export function useWorkflowData() { // 暂时没有音频生成 直接跳过 finalStep = '5'; - loadingText = LOADING_TEXT_MAP.postProduction('post-production...'); + loadingText = LOADING_TEXT_MAP.postProduction('generating rough cut video...'); } } } @@ -468,7 +468,7 @@ export function useWorkflowData() { url: data.final_simple_video.video }); finalStep = '5.5'; - loadingText = LOADING_TEXT_MAP.postProduction('post-production...'); + loadingText = LOADING_TEXT_MAP.postProduction('generating fine-grained video clips...'); } if (data.final_video && data.final_video.video) {