Skip to content

Commit 119ec1e

Browse files
authored
Merge pull request #1137 from vuejs/update-docs
Fix route hash docs
2 parents 809fff0 + 161b811 commit 119ec1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/en/api/route-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The route object can be found in multiple places:
5454

5555
- type: `string`
5656

57-
The hash of the current route (without `#`), if it has one. If no hash is present the value will be an empty string.
57+
The hash of the current route (with the `#`), if it has one. If no hash is present the value will be an empty string.
5858

5959
- **$route.fullPath**
6060

docs/zh-cn/api/route-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ route object 出现在多个地方:
5353

5454
- 类型: `string`
5555

56-
当前路由的 hash 值 (不带 `#`) ,如果没有 hash 值,则为空字符串。
56+
当前路由的 hash 值 ( `#`) ,如果没有 hash 值,则为空字符串。
5757

5858

5959
- **$route.fullPath**

0 commit comments

Comments
 (0)