剪辑弹窗 弹出被拦截了

This commit is contained in:
北枳 2025-09-17 17:15:59 +08:00
parent 695c417ba6
commit 3122a66db3

View File

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