fix:修正依赖注入实战章节中的翻译语意错误

This commit is contained in:
GuoYuFei 2018-12-09 17:25:42 +08:00 committed by 雪狼
parent 484f5c69cb
commit ca2656b283
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ The host component is typically the component requesting the dependency.
However, when this component is projected into a *parent* component,
that parent component becomes the host. The following example covers this second case.
`@Host` 属性装饰器会禁止在*宿主组件*上搜索。宿主组件通常就是请求该依赖的那个组件。
`@Host` 属性装饰器会禁止在*宿主组件*搜索。宿主组件通常就是请求该依赖的那个组件。
不过,当该组件投影进某个*父*组件时,那个父组件就会变成宿主。下面的例子中介绍了第二种情况。
These decorators can be used individually or together, as shown in the example.