Skip to content

Commit 7905ac1

Browse files
cyyyuposva
authored andcommitted
Update router-instance.md (zh-cn) (#1652)
Added missing params for 'router.push' and 'router.replace'
1 parent b2f2745 commit 7905ac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/zh-cn/api/router-instance.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
增加全局的导航钩子。参考 [导航钩子](../advanced/navigation-guards.md).
3030

3131

32-
- **router.push(location)**
33-
- **router.replace(location)**
32+
- **router.push(location, onComplete?, onAbort?)**
33+
- **router.replace(location, onComplete?, onAbort?)**
3434
- **router.go(n)**
3535
- **router.back()**
3636
- **router.forward()**

0 commit comments

Comments
 (0)