Skip to content

Commit

Permalink
fix: save flow leavto report (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
zgqgit committed May 20, 2024
2 parents 578ac8d + 3f44184 commit bec4258
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ export default function Page({ flow, preFlow }: { flow: FlowType, preFlow: strin

// 离开并保存
const handleSaveAndClose = async () => {
setFlow('leave and save', { ...flow })

await captureAndAlertRequestErrorHoc(updateVersion(version.id, { name: version.name, description: '', data: flow.data }))
blocker.proceed?.()
}
Expand Down

0 comments on commit bec4258

Please sign in to comment.