fix break style in architecture doc
This commit is contained in:
parent
dd9e8fa34a
commit
c2cf6c711a
|
@ -287,8 +287,6 @@ For example, this `HeroListComponent` has a `heroes` property that returns an ar
|
|||
that it acquires from a service.
|
||||
`HeroListComponent` also has a `selectHero()` method that sets a `selectedHero` property when the user clicks to choose a hero from that list.
|
||||
|
||||
|
||||
{@a component-code}
|
||||
例如,`HeroListComponent`有一个`heroes`属性,它返回一个英雄数组,这个数组从一个服务获得。
|
||||
`HeroListComponent`还有一个`selectHero()`方法,当用户从列表中点选一个英雄时,就把它/她设置到`selectedHero`属性。
|
||||
|
||||
|
|
Loading…
Reference in New Issue