@Input属性在Angular 2的onInit中未定义 ... export class HeroDetailComponent implements OnInit { constructor(){ console.log('hero', this.hero) } public hero: ...
確定! 回上一頁