Skip to content

Commit 5636a8e

Browse files
Rudy24eddyerburgh
authored andcommitted
docs: fix router name (#923)
1 parent 6649d79 commit 5636a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/guides/using-with-vue-router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const wrapper = shallowMount(Component, {
6969
}
7070
})
7171

72-
wrapper.vm.$router.path // /some/path
72+
wrapper.vm.$route.path // /some/path
7373
```
7474

7575
### 常识

0 commit comments

Comments
 (0)