【问题来源?】

Ionic一个页面引用另一个页面时,形成了父与子类的关系,这时候我们需要在主页面添加定义,如下。

Ionic -----you can also create a new NgModule that exports and includes

这时候就会报如下的信息错误,告诉我们父与子类只需添加一个就行。

Ionic -----you can also create a new NgModule that exports and includes

【解决方案】

将引入的页面的生命删除掉就行,如下

Ionic -----you can also create a new NgModule that exports and includes

相关文章:

  • 2021-10-21
  • 2021-03-31
  • 2021-08-09
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案