forked from 77media/video-flow
清掉 剪辑计划弹窗 延时器
This commit is contained in:
parent
8b3228ead3
commit
264e6d92b2
@ -181,9 +181,7 @@ export function useWorkflowData({ onEditPlanGenerated }: UseWorkflowDataProps =
|
|||||||
successDescription: 'Editing plan generated successfully.',
|
successDescription: 'Editing plan generated successfully.',
|
||||||
timeout: 3000
|
timeout: 3000
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
notification.destroy(notificationKey);
|
||||||
notification.destroy(notificationKey);
|
|
||||||
}, 3000);
|
|
||||||
|
|
||||||
// 触发回调,通知父组件计划生成完成
|
// 触发回调,通知父组件计划生成完成
|
||||||
onEditPlanGenerated?.();
|
onEditPlanGenerated?.();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user