fix: workflow canvas sync (#33030)

This commit is contained in:
zxhlyh
2026-03-05 15:08:37 +08:00
committed by GitHub
parent 1819b87a56
commit f3c840a60e
6 changed files with 308 additions and 7 deletions

View File

@ -132,7 +132,7 @@ export const useNodesSyncDraft = () => {
if (error && error.json && !error.bodyUsed) {
error.json().then((err: any) => {
if (err.code === 'draft_workflow_not_sync' && !notRefreshWhenSyncError)
handleRefreshWorkflowDraft()
handleRefreshWorkflowDraft(true)
})
}
callback?.onError?.()