Skip to content

Commit 8c4b387

Browse files
authored
Apply suggestions from code review
1 parent 63cc86a commit 8c4b387

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docs/zh/guide/essentials/nested-routes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ const routes = [
138138

139139
## 忽略父组件 <Badge text="4.1+" />
140140

141-
我们还可以利用路由之间的父子关系,而不需要嵌套路由组件。这对于将具有公共路径前缀的路由分组在一起或使用更高级的功能时很有用,例如: [路由独享的守卫](../advanced/navigation-guards#Per-Route-Guard)[路由元信息](../advanced/meta)
141+
我们还可以仅利用路由的父子关系,但不嵌套路由组件。这对于将具有公共路径前缀的路由分组在一起或使用更高级的功能时很有用,例如:[路由独享的守卫](../advanced/navigation-guards#Per-Route-Guard)[路由元信息](../advanced/meta)
142142

143-
为了实现这一点, 我们可以在父路由中省略了 `component``components`的选项
143+
为了实现这一点, 我们在父路由中省略了 `component``components` 选项
144144

145145
```js
146146
const routes = [
@@ -155,4 +155,4 @@ const routes = [
155155
]
156156
```
157157

158-
由于父级没有指定路由组件,顶级 `<router-view>` 将跳过父级并仅使用子级的路由组件
158+
由于父级没有指定路由组件,顶级 `<router-view>` 将跳过父级并仅使用子路由组件

0 commit comments

Comments
 (0)