From c8a99a2b7267feeb2103de0ae0c5d7a1611edee2 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Sun, 17 Mar 2019 11:47:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BE=AE=E8=B0=83=E7=BF=BB=E8=AF=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/template-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index 783396dd27..829e978d26 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -111,7 +111,7 @@ In the example above, Angular evaluates the `title` and `itemImageUrl` propertie and fills in the blanks, first displaying some title text and then an image. 在括号之间的“素材”,通常是组件属性的名字。Angular 会用组件中相应属性的字符串值,替换这个名字。 - 上例中,Angular 计算 `title` 和 `heroImageUrl` 属性的值,并把它们填在空白处。 + 上例中,Angular 计算 `title` 和 `itemImageUrl` 属性的值,并把它们填在空白处。 首先显示粗体的应用标题,然后显示英雄的图片。 More generally, the text between the braces is a **template expression** @@ -240,7 +240,7 @@ such as a template input variable, `let customer`, or a template reference variable, `#customerInput`. 表达式的上下文可以包括组件之外的对象。 - 比如[模板输入变量](guide/template-syntax#template-input-variable) (`let hero`)和[模板引用变量](guide/template-syntax#ref-vars)(`#heroInput`)就是备选的上下文对象之一。 + 比如[模板输入变量](guide/template-syntax#template-input-variable) (`let customer`)和[模板引用变量](guide/template-syntax#ref-vars)(`#customerInput`)就是备选的上下文对象之一。