]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs(zh): fix the order of useRouter() and useRoute() in packages/docs/zh/guide/index...
authoryaoshaohua <eurallyao@163.com>
Thu, 20 Jun 2024 10:23:24 +0000 (18:23 +0800)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 10:23:24 +0000 (12:23 +0200)
Co-authored-by: yaoshaohua <yaoshaohua@xinye.com>
packages/docs/zh/guide/index.md

index 9d9d01ab13a7decb02d02369bfe8830db4b66f80..f21b6a9b621eb1627b3486773e8eb6fd7e0f8b35 100644 (file)
@@ -148,7 +148,7 @@ const search = computed({
 </script>
 ```
 
-你现在不一定要完全理解这段代码,关键是要知道可以通过 `useRoute()` 和 `useRouter()` 来访问路由器实例和当前路由。
+你现在不一定要完全理解这段代码,关键是要知道可以通过 `useRouter()` 和 `useRoute()` 来访问路由器实例和当前路由。
 
 ### 下一步