Skip to content

Commit

Permalink
docs: remove leftover text
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Nov 10, 2021
1 parent 3acca12 commit c02bf88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/zh/guide/essentials/nested-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const routes = [
component: User,
children: [
{
// 当 /user/:id/profile 匹配成功
// 当 /user/:id/profile 匹配成功
// UserProfile 将被渲染到 User 的 <router-view> 内部
path: 'profile',
component: UserProfile,
Expand Down Expand Up @@ -82,8 +82,6 @@ const routes = [
path: '/user/:id',
component: User,
children: [
// UserHome will be rendered inside User's <router-view>
// when /user/:id is matched
// 当 /user/:id 匹配成功
// UserHome 将被渲染到 User 的 <router-view> 内部
{ path: '', component: UserHome },
Expand All @@ -94,4 +92,4 @@ const routes = [
]
```

这个例子的 demo 可以在[这里](https://codesandbox.io/s/nested-views-vue-router-4-examples-hl326?initialpath=%2Fusers%2Feduardo)找到。
这个例子的 demo 可以在[这里](https://codesandbox.io/s/nested-views-vue-router-4-examples-hl326?initialpath=%2Fusers%2Feduardo)找到。

0 comments on commit c02bf88

Please sign in to comment.