- 博客(1)
- 收藏
- 关注
原创 Property ‘hero’ does not exist on type ‘HeroesComponent’.
Property ‘hero’ does not exist on type ‘HeroesComponent’.hero = ‘Windstorm’; 不要写在ts文件的最下面,应该写在export里面下面展示一些 内联代码片。// A code blockimport { Component, OnInit } from '@angular/core';@Component({ selector: 'app-heroes', templateUrl: './heroes.compon
2021-06-03 15:40:58
328
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅