生成剪辑计划失败,尝试重试

This commit is contained in:
北枳 2025-09-07 03:15:27 +08:00
parent 7467025d09
commit f85187d1de

View File

@ -204,10 +204,10 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
useEffect(() => { useEffect(() => {
// 主动触发剪辑 // 主动触发剪辑
if (canGoToCut && taskObject.currentStage === 'video') { if (canGoToCut && (taskObject.currentStage === 'video' || !isGenerateEditPlan)) {
generateEditPlan(); generateEditPlan();
} }
}, [canGoToCut, taskObject.currentStage]); }, [canGoToCut, taskObject.currentStage, isGenerateEditPlan]);
useEffect(() => { useEffect(() => {
if (isShowError) { if (isShowError) {