From 3122a66db3c20e25846aceaa25c6ac8fdbbb8e8e 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: Wed, 17 Sep 2025 17:15:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=AA=E8=BE=91=E5=BC=B9=E7=AA=97=20?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E8=A2=AB=E6=8B=A6=E6=88=AA=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/pages/work-flow.tsx b/components/pages/work-flow.tsx index 319c9b3..d42e409 100644 --- a/components/pages/work-flow.tsx +++ b/components/pages/work-flow.tsx @@ -107,14 +107,6 @@ const WorkFlow = React.memo(function WorkFlow() { }, []); // 处理编辑计划生成完成的回调 const handleEditPlanGenerated = useCallback(() => { - console.log('🚀 handleEditPlanGenerated called, current ref:', isEditingInProgressRef.current); - - // 防止重复调用 - 使用 ref 避免依赖项变化 - if (isEditingInProgressRef.current) { - console.log('⚠️ 编辑已在进行中,跳过重复调用'); - return; - } - console.log('✨ 编辑计划生成完成,开始AI剪辑'); setIsHandleEdit(true); setEditingStatus('idle');