From c38b08ff5b1cdc8e35cbb18dbbad878f8c5e028a Mon Sep 17 00:00:00 2001 From: zhusir Date: Sun, 31 May 2020 00:38:31 +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 --- aio/content/guide/hierarchical-dependency-injection.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aio/content/guide/hierarchical-dependency-injection.md b/aio/content/guide/hierarchical-dependency-injection.md index 1701056778..57959de752 100644 --- a/aio/content/guide/hierarchical-dependency-injection.md +++ b/aio/content/guide/hierarchical-dependency-injection.md @@ -25,7 +25,6 @@ in this hierarchy using an `@NgModule()` or `@Injectable()` annotation. `ModuleInjector` 层次结构 —— 使用 `@NgModule()` 或 `@Injectable()` 注解在此层次结构中配置 `ModuleInjector`。 - 1. `ElementInjector` hierarchy—created implicitly at each DOM element. An `ElementInjector` is empty by default unless you configure it in the `providers` property on @@ -310,8 +309,7 @@ resolves it in two phases: 针对 `ElementInjector` 层次结构(其父级) - -2. Against the `ModuleInjector` hierarchy (its parents) +1. Against the `ModuleInjector` hierarchy (its parents) 针对 `ModuleInjector` 层次结构(其父级)