fix: sync vibe apply immediately

This commit is contained in:
yyh 2025-12-27 15:36:02 +08:00 committed by crazywoola
parent de7d39d388
commit 0f40afafe2
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ export const useWorkflowVibe = () => {
setNodes(vibePanelPreviewNodes)
setEdges(vibePanelPreviewEdges)
saveStateToHistory(WorkflowHistoryEvent.NodeAdd, { nodeId: vibePanelPreviewNodes[0].id })
handleSyncWorkflowDraft()
handleSyncWorkflowDraft(true, true)
workflowStore.setState(state => ({
...state,