Skip to content

Commit

Permalink
fix:修复报错
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoyun8 committed Sep 14, 2024
1 parent f4ecc76 commit 6179d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/toolbars/preview/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default {
previewPage(params)
}
if (typeof previewed === 'function') {
await previewed()
if (typeof afterPreview === 'function') {
await afterPreview()
}
}
Expand Down

0 comments on commit 6179d58

Please sign in to comment.