forked from 77media/video-flow
retry
This commit is contained in:
parent
79a622375e
commit
235fe2ab6f
@ -214,7 +214,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// 主动触发剪辑
|
// 主动触发剪辑
|
||||||
if (canGoToCut && taskObject.currentStage === 'video') {
|
if (canGoToCut && taskObject.currentStage === 'video') {
|
||||||
generateEditPlan(retryCount);
|
generateEditPlan(retryCount - 1);
|
||||||
}
|
}
|
||||||
}, [canGoToCut, taskObject.currentStage, retryCount]);
|
}, [canGoToCut, taskObject.currentStage, retryCount]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user