Skip to content

Commit fd5f0e5

Browse files
yugasunyyx990803
authored andcommitted
Update router-instance.md (#1570)
Add `router.beforeResolve()` method description.
1 parent af53d1d commit fd5f0e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/zh-cn/api/router-instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
### 方法
2424

2525
- **router.beforeEach(guard)**
26+
- **router.beforeResolve(guard) (2.5.0+)**: 此时异步组件已经加载完成
2627
- **router.afterEach(hook)**
2728

2829
增加全局的导航钩子。参考 [导航钩子](../advanced/navigation-guards.md).

0 commit comments

Comments
 (0)