关于 Property 'planCode' does not exist on type '{}'

angluar4项目打包时报的如上图的错误:

解决如下

关于 Property 'planCode' does not exist on type '{}'

shopOrderHearder:any=null;然后html里写成这样的,{{shopOrderHeader?shopOrderHeader.matlName:''}},如下图关于 Property 'planCode' does not exist on type '{}'

 

 ,然后打包就不会报错了

 

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2021-05-27
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-08-11
  • 2021-09-09
  • 2021-07-22
  • 2022-12-23
相关资源
相似解决方案