Skip to content

Commit

Permalink
docs(zh): remove extra space (#3090)
Browse files Browse the repository at this point in the history
  • Loading branch information
holazz authored and posva committed Jan 8, 2020
1 parent ddc6bc7 commit 927f0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/guide/advanced/navigation-guards.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ beforeRouteUpdate (to, from, next) {
这个离开守卫通常用来禁止用户在还未保存修改前突然离开。该导航可以通过 `next(false)` 来取消。

```js
beforeRouteLeave (to, from , next) {
beforeRouteLeave (to, from, next) {
const answer = window.confirm('Do you really want to leave? you have unsaved changes!')
if (answer) {
next()
Expand Down

0 comments on commit 927f0c9

Please sign in to comment.