From 95f6249eb43eb92866858ce87a295673105a3519 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Wed, 8 Mar 2017 13:57:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BF=BB=E8=AF=91=E4=BA=86=E9=81=97?= =?UTF-8?q?=E6=BC=8F=E7=9A=84=E9=83=A8=E5=88=86=20(#201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/ts/latest/guide/forms.jade | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/public/docs/ts/latest/guide/forms.jade b/public/docs/ts/latest/guide/forms.jade index 3f557409a8..d2c0e349bb 100644 --- a/public/docs/ts/latest/guide/forms.jade +++ b/public/docs/ts/latest/guide/forms.jade @@ -365,20 +365,21 @@ figure.image-display Replace the contents of the "QuickStart" version with the following: - 把"快速起步"的版本内容替换成下列代码:+makeExample('src/app/app.component.ts') + 把"快速起步"的版本内容替换成下列代码: + ++makeExample('src/app/app.component.ts') :marked .l-sub-section :marked There are only two changes. - - 仅有的两处修改。 - - 1. The `template` is simply the new element tag identified by the component's `selector` property. + The `template` is simply the new element tag identified by the component's `selector` property. This will display the hero form when the application component is loaded. We've also dropped the `name` field from the class body. - - `template`中只有新元素标签,即组件的`selector`属性。当应用组件被加载时,将显示这个英雄表单。 + + 这里只做了两处修改。 + `template`中只剩下这个新的元素标签,即组件的`selector`属性。这样当应用组件被加载时,就会显示这个英雄表单。 + 另外,我们还从类中移除了`name`字段。 .l-main-section :marked