-
-
Notifications
You must be signed in to change notification settings - Fork 5k
[docs][zh-cn] synced udpates and some typos #2087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/zh-cn/api/route-object.md
Outdated
@@ -1,8 +1,8 @@ | |||
# 路由信息对象 | |||
|
|||
一个 **route object(路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records(路由记录)**。 | |||
一个 **route object (路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records (路由记录)**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
括号内外对调一下?
docs/zh-cn/api/route-object.md
Outdated
|
||
route object 是 immutable(不可变) 的,每次成功的导航后都会产生一个新的对象。 | ||
route object 是 immutable (不可变) 的,每次成功的导航后都会产生一个新的对象。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
docs/zh-cn/api/route-object.md
Outdated
@@ -66,7 +66,7 @@ route object 出现在多个地方: | |||
|
|||
- 类型: `Array<RouteRecord>` | |||
|
|||
一个数组,包含当前路由的所有嵌套路径片段的 **路由记录** 。路由记录就是 `routes` 配置数组中的对象副本(还有在 `children` 数组)。 | |||
一个数组,包含当前路由的所有嵌套路径片段的 **路由记录** 。路由记录就是 `routes` 配置数组中的对象副本 (还有在 `children` 数组)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**路由记录**
前面多了一个空格。
docs/zh-cn/api/route-object.md
Outdated
@@ -1,8 +1,8 @@ | |||
# 路由信息对象 | |||
|
|||
一个 **route object (路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records (路由记录)**。 | |||
一个 **路由信息对象 (route object)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **路由记录 (route records)**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多了空格
Ping me when it's ok to merge 🙂 |
docs/zh-cn/api/route-object.md
Outdated
@@ -1,8 +1,8 @@ | |||
# 路由信息对象 | |||
|
|||
一个 **route object(路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records(路由记录)**。 | |||
一个 **路由信息对象 (route object)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的**路由记录 (route records)**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最前面还是多了一个空格
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops,大意了,我索性又全篇 review 了一遍。
@posva ready for merge 😄 |
Translated #2043 and some handy typos.
/ping @Justineo