From 6e4fd6e4b2f40ce66398b91abcf7f16168360090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gil=E5=90=89=E5=90=89?= Date: Fri, 19 Oct 2018 16:44:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?Update:=20forms.md=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/forms.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/forms.md b/aio/content/guide/forms.md index 4cd8736b21..333dbfdd1e 100644 --- a/aio/content/guide/forms.md +++ b/aio/content/guide/forms.md @@ -281,11 +281,11 @@ template with a `` tag. * The `templateUrl` property points to a separate file for the template HTML. - `moduleId: module.id` 属性设置了基地址,用于从相对模块路径加载 `templateUrl`。 + `templateUrl` 属性指向一个独立的 HTML 模板文件。 * You defined dummy data for `model` and `powers`, as befits a demo. - `templateUrl` 属性指向一个独立的 HTML 模板文件。 + 你定义了一些用来演示的,关于 `model` 和 `powers` 的模拟数据。 Down the road, you can inject a data service to get and save real data or perhaps expose these properties as inputs and outputs From 9ce70dd100f5d187fde51e7160ce73e6d55922a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gil=E5=90=89=E5=90=89?= Date: Fri, 19 Oct 2018 18:00:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?Update:=20forms.md=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/forms.md b/aio/content/guide/forms.md index 333dbfdd1e..e4ea6fb5a2 100644 --- a/aio/content/guide/forms.md +++ b/aio/content/guide/forms.md @@ -991,7 +991,7 @@ Now you'll add a new hero in this form. Place a *New Hero* button at the bottom of the form and bind its click event to a `newHero` component method. 现在,你要在这个表单中添加新的英雄。 - 在表单的底部放置“New Hero(新增英雄)”按钮,并把它的点击事件绑定到 `newHero` 组件。 + 在表单的底部放置“New Hero(新增英雄)”按钮,并把它的点击事件绑定到组件上的 `newHero` 方法。