forked from 77media/video-flow
生成剪辑计划失败,尝试重试
This commit is contained in:
parent
7467025d09
commit
f85187d1de
@ -204,10 +204,10 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
|
||||
|
||||
useEffect(() => {
|
||||
// 主动触发剪辑
|
||||
if (canGoToCut && taskObject.currentStage === 'video') {
|
||||
if (canGoToCut && (taskObject.currentStage === 'video' || !isGenerateEditPlan)) {
|
||||
generateEditPlan();
|
||||
}
|
||||
}, [canGoToCut, taskObject.currentStage]);
|
||||
}, [canGoToCut, taskObject.currentStage, isGenerateEditPlan]);
|
||||
|
||||
useEffect(() => {
|
||||
if (isShowError) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user