Skip to content

Commit

Permalink
docs(zh): fix the order of useRouter() and useRoute() in packages/doc…
Browse files Browse the repository at this point in the history
…s/zh/guide/index.md (#2278)

Co-authored-by: yaoshaohua <[email protected]>
  • Loading branch information
yaoshaohua and yaoshaohua authored Jun 20, 2024
1 parent 249bf2d commit 805e6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/zh/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const search = computed({
</script>
```

你现在不一定要完全理解这段代码,关键是要知道可以通过 `useRoute()``useRouter()` 来访问路由器实例和当前路由。
你现在不一定要完全理解这段代码,关键是要知道可以通过 `useRouter()``useRoute()` 来访问路由器实例和当前路由。

### 下一步

Expand Down

0 comments on commit 805e6ff

Please sign in to comment.