Skip to content

Commit

Permalink
fix(router): logo back in editor dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Nov 14, 2022
1 parent abbae25 commit bc8f428
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/better-write-app/src/components/utils/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@
const onClick = () => {
if (props.hidden) return
if (props.back) {
router.back()
return
}
router.push('/about')
}
</script>

0 comments on commit bc8f428

Please sign in to comment.