fix: typo
This commit is contained in:
parent
76aa95666a
commit
70d98fe521
@ -275,7 +275,7 @@ It has many of the features you'd expect to find in a data-driven application:
|
||||
|
||||
- Acquiring and displaying a list of items
|
||||
|
||||
获取与现实条目的列表
|
||||
获取与显示条目的列表
|
||||
|
||||
- Editing a selected item's detail
|
||||
|
||||
|
@ -671,7 +671,7 @@ The _"id"_ parameter is the `id` of the hero to display.
|
||||
|
||||
[`ActivatedRoute`](api/router/ActivatedRoute) 保存着到这个 `HeroDetailComponent` 实例的路由信息。
|
||||
这个组件对从 URL 中提取的路由参数感兴趣。
|
||||
其中的 *`id`* 参数就是要现实的英雄的 `id`。
|
||||
其中的 *`id`* 参数就是要显示的英雄的 `id`。
|
||||
|
||||
The [`HeroService`](tutorial/toh-pt4) gets hero data from the remote server
|
||||
and this component will use it to get the _hero-to-display_.
|
||||
@ -756,7 +756,7 @@ It returns a _mock hero_ as an `Observable`, using the RxJS `of()` function.
|
||||
You'll be able to re-implement `getHero()` as a real `Http` request
|
||||
without having to change the `HeroDetailComponent` that calls it.
|
||||
|
||||
你将来可以用一个真实的 `Http` 请求来重现实现 `getHero()`,而不用修改调用了它的 `HeroDetailComponent`。
|
||||
你将来可以用一个真实的 `Http` 请求来重新实现 `getHero()`,而不用修改调用了它的 `HeroDetailComponent`。
|
||||
|
||||
#### Try it
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user