From 3c16d249b936cf9d2ea1b038b2016b7169e835ee Mon Sep 17 00:00:00 2001 From: zhusir Date: Sun, 31 May 2020 20:22:44 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=BF=BB=E8=AF=91=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #479 ,好像删除空行并没有两个行进入同一序列。之前的 #480 没有起到效果。我删掉了同一序列中两个空行的一行。顺便手工将序号修正。 --- aio/content/guide/hierarchical-dependency-injection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/hierarchical-dependency-injection.md b/aio/content/guide/hierarchical-dependency-injection.md index 57959de752..b30ca17ee7 100644 --- a/aio/content/guide/hierarchical-dependency-injection.md +++ b/aio/content/guide/hierarchical-dependency-injection.md @@ -25,7 +25,7 @@ in this hierarchy using an `@NgModule()` or `@Injectable()` annotation. `ModuleInjector` 层次结构 —— 使用 `@NgModule()` 或 `@Injectable()` 注解在此层次结构中配置 `ModuleInjector`。 -1. `ElementInjector` hierarchy—created implicitly at each +2. `ElementInjector` hierarchy—created implicitly at each DOM element. An `ElementInjector` is empty by default unless you configure it in the `providers` property on `@Directive()` or `@Component()`. @@ -309,7 +309,7 @@ resolves it in two phases: 针对 `ElementInjector` 层次结构(其父级) -1. Against the `ModuleInjector` hierarchy (its parents) +2. Against the `ModuleInjector` hierarchy (its parents) 针对 `ModuleInjector` 层次结构(其父级)