Skip to content

Commit

Permalink
docs(ja): remove extra space (#3098)
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-2077 authored and posva committed Jan 13, 2020
1 parent 927f0c9 commit d2441b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ja/guide/advanced/navigation-guards.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ beforeRouteUpdate (to, from, next) {
**leave ガード**は、通常、ユーザが保存されていない編集内容で誤って経路を離れるのを防ぐために使用されます。ナビゲーションは `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 d2441b5

Please sign in to comment.