Skip to content

docs: make title more understandable #2587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/advanced/navigation-guards.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ As the name suggests, the navigation guards provided by `vue-router` are primari

Remember that **params or query changes won't trigger enter/leave navigation guards**. You can either [watch the `$route` object](../essentials/dynamic-matching.md#reacting-to-params-changes) to react to those changes, or use the `beforeRouteUpdate` in-component guard.

## Global Guards
## Global Before Guards

You can register global before guards using `router.beforeEach`:

Expand Down
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 @@ -8,7 +8,7 @@

记住**参数或查询的改变并不会触发进入/离开的导航守卫**。你可以通过[观察 `$route` 对象](../essentials/dynamic-matching.md#响应路由参数的变化)来应对这些变化,或使用 `beforeRouteUpdate` 的组件内守卫。

## 全局守卫
## 全局前置守卫

你可以使用 `router.beforeEach` 注册一个全局前置守卫:

Expand Down