docs: 重复内容

重复的文档内容
This commit is contained in:
chenc 2020-07-21 09:47:18 +08:00 committed by 雪狼
parent feadd0da19
commit 0f2be3d859

View File

@ -403,8 +403,6 @@ When the component's list of heroes has more than three items, Angular adds the
to the DOM and the message appears.
If there are three or fewer items, Angular omits the paragraph, so no message appears.
双引号内的模板表达式 `*ngIf="heroes.length > 3"` 的外观和行为与 TypeScript 非常相似。当组件的英雄列表包含三个以上的条目时Angular 会将这段话添加到 DOM 中这条消息就显示出来了。如果只有三个或更少的条目Angular 就会省略该段落,也就不会显示任何消息。
For more information, see [template expressions](guide/template-syntax#template-expressions).
双引号中的模板表达式 `*ngIf="heros.length > 3"`,外观和行为很象 TypeScript。