forked from 77media/video-flow
a
This commit is contained in:
parent
ce0c0dfe7c
commit
f12505eae4
@ -47,6 +47,7 @@ const WorkFlow = React.memo(function WorkFlow() {
|
|||||||
const handleEditPlanGenerated = useCallback(() => {
|
const handleEditPlanGenerated = useCallback(() => {
|
||||||
console.log('✨ 编辑计划生成完成,开始AI剪辑');
|
console.log('✨ 编辑计划生成完成,开始AI剪辑');
|
||||||
setIsHandleEdit(true);
|
setIsHandleEdit(true);
|
||||||
|
aiEditingButtonRef.current?.handleAIEditing();
|
||||||
editingNotificationKey.current = `editing-${Date.now()}`;
|
editingNotificationKey.current = `editing-${Date.now()}`;
|
||||||
showEditingNotification({
|
showEditingNotification({
|
||||||
title: '视频编辑中', // 可选
|
title: '视频编辑中', // 可选
|
||||||
@ -73,7 +74,6 @@ const WorkFlow = React.memo(function WorkFlow() {
|
|||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
aiEditingButtonRef.current?.handleAIEditing();
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
// 使用自定义 hooks 管理状态
|
// 使用自定义 hooks 管理状态
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user