From bfe79fcebe3d9c6dcb07385f15ef3100911e929b Mon Sep 17 00:00:00 2001 From: Yuga Sun Date: Thu, 6 Jul 2017 14:35:50 +0800 Subject: [PATCH] Update router-instance.md Add `router.beforeResolve()` method description. --- docs/zh-cn/api/router-instance.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/zh-cn/api/router-instance.md b/docs/zh-cn/api/router-instance.md index 8430568f4..91c43150e 100644 --- a/docs/zh-cn/api/router-instance.md +++ b/docs/zh-cn/api/router-instance.md @@ -23,6 +23,7 @@ ### 方法 - **router.beforeEach(guard)** +- **router.beforeResolve(guard) (2.5.0+)**: 此时异步组件已经加载完成 - **router.afterEach(hook)** 增加全局的导航钩子。参考 [导航钩子](../advanced/navigation-guards.md).