correction: router sample correction

This commit is contained in:
Zhimin(Rex) YE 2016-07-03 17:38:33 +01:00
parent 78fb5708de
commit 3184375783
1 changed files with 3 additions and 3 deletions

View File

@ -1226,7 +1226,7 @@ h3#merge-hero-routes 把英雄区的路由合并到应用程序的路由中
把`app.routes.ts`改成这样:
+makeExample('router/ts/app/app.routes.3.ts', '', 'app/app.routes.ts (v.2)')(format=".")
+makeExample('router/ts/app/app.routes.2.ts', '', 'app/app.routes.ts (v.2)')(format=".")
:marked
We replace the `HeroListComponent` import with an `HeroesRoutes` import.
@ -1561,8 +1561,8 @@ h3#nav-to-list 导航回列表组件
这里是当前版本的范例程序相关文件。
+makeTabs(
`router/ts/app/app.component.1.ts,
router/ts/app/app.routes.3.ts,
`router/ts/app/app.component.2.ts,
router/ts/app/app.routes.2.ts,
router/ts/app/heroes/hero-list.component.1.ts,
router/ts/app/heroes/hero-detail.component.1.ts,
router/ts/app/heroes/hero.service.ts,