]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
dcos: typo (#1775)
authorjmx1008 <122501900+jmx1008@users.noreply.github.com>
Tue, 4 Apr 2023 12:58:38 +0000 (20:58 +0800)
committerGitHub <noreply@github.com>
Tue, 4 Apr 2023 12:58:38 +0000 (20:58 +0800)
packages/docs/zh/api/index.md

index 81e755bc23c8adb83e0ff0fe22d89a04c958c3e0..63efd7c2af4edc878d191b05ecb8ffc20d8e83d5 100644 (file)
@@ -375,7 +375,7 @@ ___
 
 ▸ **useRoute**(): [`RouteLocationNormalizedLoaded`](interfaces/RouteLocationNormalizedLoaded.md)
 
-返回当前的路由地址。相当于在模板中使用 `$router`。
+返回当前的路由地址。相当于在模板中使用 `$route`。
 
 #### 返回值 %{#Functions-useRoute-Returns}%