Update displaying-data.md

This commit is contained in:
chenc 2020-08-20 14:32:28 +08:00 committed by 雪狼
parent 0f2be3d859
commit aa4bf0318c

View File

@ -402,7 +402,6 @@ The template expression inside the double quotes,
When the component's list of heroes has more than three items, Angular adds the paragraph
to the DOM and the message appears.
If there are three or fewer items, Angular omits the paragraph, so no message appears.
For more information, see [template expressions](guide/template-syntax#template-expressions).
双引号中的模板表达式 `*ngIf="heros.length > 3"`,外观和行为很象 TypeScript。