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');