Skip to content

Commit 90b2af7

Browse files
Meowukazupon
authored andcommitted
fix: typo. (#1312)
1 parent 4aa5994 commit 90b2af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/zh/guides/using-with-vue-router.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ shallowMount(Component, {
2020
})
2121
```
2222

23-
> **注意:**在一个 `localVue` 上安装 Vue Router 时也会将 `$route``$router` 作为两个只读属性添加给该 `localVue`。这意味着如果你使用安装了 Vue Router 的 `localVue`则不能在挂在一个组件时使用 `mocks` 选项来覆写 `$route``$router`
23+
> **注意:**在一个 `localVue` 上安装 Vue Router 时也会将 `$route``$router` 作为两个只读属性添加给该 `localVue`。这意味着如果你使用安装了 Vue Router 的 `localVue`则不能在挂载一个组件时使用 `mocks` 选项来覆写 `$route``$router`
2424
2525
### 测试使用了 `router-link``router-view` 的组件
2626

0 commit comments

Comments
 (0)