forked from 77media/video-flow
剪辑弹窗 弹出被拦截了
This commit is contained in:
parent
695c417ba6
commit
3122a66db3
@ -107,14 +107,6 @@ const WorkFlow = React.memo(function WorkFlow() {
|
|||||||
}, []);
|
}, []);
|
||||||
// 处理编辑计划生成完成的回调
|
// 处理编辑计划生成完成的回调
|
||||||
const handleEditPlanGenerated = useCallback(() => {
|
const handleEditPlanGenerated = useCallback(() => {
|
||||||
console.log('🚀 handleEditPlanGenerated called, current ref:', isEditingInProgressRef.current);
|
|
||||||
|
|
||||||
// 防止重复调用 - 使用 ref 避免依赖项变化
|
|
||||||
if (isEditingInProgressRef.current) {
|
|
||||||
console.log('⚠️ 编辑已在进行中,跳过重复调用');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('✨ 编辑计划生成完成,开始AI剪辑');
|
console.log('✨ 编辑计划生成完成,开始AI剪辑');
|
||||||
setIsHandleEdit(true);
|
setIsHandleEdit(true);
|
||||||
setEditingStatus('idle');
|
setEditingStatus('idle');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user