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