ITPub博客

首页 > IT职业 > IT职场 > ionic3 组件引入报错

ionic3 组件引入报错

IT职场 作者:cikey 时间:2021-09-09 10:08:51 0 删除 编辑

报类似这个错误:

“If 'progress-view' is an Angular component and it has 'statusLineWidth' inpu。。。。。。。”

我发现在其他页面是正常使用这个组件,为什么我这个页面不行呢?

原来,我是用ionicPage(),在app.modules.ts引入的是需要使用组件的页面的pageModule

将它改为正常引入页面,就解决了。

但是后续仍需要优化,肯定还有方法避开这个错误的



作者:给我一个好听的名字吧
链接:https://www.jianshu.com/p/45f60daf8178


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1051/viewspace-2817415/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-15

  • 博文量
    91
  • 访问量
    757