区分精剪/粗剪loading文字

This commit is contained in:
北枳 2025-07-20 12:18:50 +08:00
parent 7ab05c26b1
commit 5c393f2ecd
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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) {