docs: fix typo

This commit is contained in:
orzorzorzorz 2019-04-21 11:34:47 +08:00 committed by 雪狼
parent 7b47f10e49
commit 1b21ef406c
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ it remains responsible for updating its own list of heroes.
The component's `delete()` method immediately removes the _hero-to-delete_ from that list,
anticipating that the `HeroService` will succeed on the server.
虽然这个组件把删除英雄的逻辑委托给了 `HeroService`,但保留了更新它自己的英雄列表的职责。
虽然这个组件把删除英雄的逻辑委托给了 `HeroService`,但保留了更新它自己的英雄列表的职责。
组件的 `delete()` 方法会在 `HeroService` 对服务器的操作成功之前,先从列表中移除*要删除的英雄*。
There's really nothing for the component to do with the `Observable` returned by