From 4fc8cab186e75cd884b1b94b848cb82b331d9838 Mon Sep 17 00:00:00 2001 From: zhusir Date: Mon, 26 Aug 2019 16:44:50 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=BF=BB=E8=AF=91=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/pipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/pipes.md b/aio/content/guide/pipes.md index d8c2aac35a..4143efccd3 100644 --- a/aio/content/guide/pipes.md +++ b/aio/content/guide/pipes.md @@ -269,7 +269,7 @@ Note the following: * If you choose to inject your pipe into a class, you must provide it in the `providers` array of your `NgModule`. - 你必须在 `AppModule` 的 `declarations` 数组中包含这个管道。 + 如果选择将管道注入(`inject`)类中,则必须将管道包含字在`NgModule`的`providers`数组中。