From 3e0ef413a8d88f5f3786b7bf31b9ab5d60017d79 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Thu, 6 Jun 2019 20:53:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=99=E8=AF=AF=E7=9A=84=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/metadata/di.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/src/metadata/di.ts b/packages/core/src/metadata/di.ts index 35184f4856..e8692e6126 100644 --- a/packages/core/src/metadata/di.ts +++ b/packages/core/src/metadata/di.ts @@ -331,6 +331,9 @@ export interface ViewChildDecorator { * **selector** - 用于查询的指令类型或名字。 * * * **read** - read a different token from the queried elements. + * + * **read** - 从查询到的元素中读取另一个令牌。 + * * * **static** - whether or not to resolve query results before change detection runs (i.e. * return static results only). If this option is not provided, the compiler will fall back * to its default behavior, which is to use query results to determine the timing of query @@ -338,8 +341,6 @@ export interface ViewChildDecorator { * resolved after change detection runs. Otherwise, it will be resolved before change detection * runs. * - * **read** - 从查询到的元素中读取另一个令牌。 - * * Supported selectors include: * * 所支持的选择器包括: