From 235fe2ab6f0276659427998a8f5d6d65a7f3bc7f 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, 7 Sep 2025 06:48:08 +0800 Subject: [PATCH] retry --- components/pages/work-flow/use-workflow-data.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index efc1c02..b13b100 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -214,7 +214,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps = useEffect(() => { // 主动触发剪辑 if (canGoToCut && taskObject.currentStage === 'video') { - generateEditPlan(retryCount); + generateEditPlan(retryCount - 1); } }, [canGoToCut, taskObject.currentStage, retryCount]);