2. If 'app-project-type' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
可能是這個頁面所在的 module.ts 沒有引用 'app-project-type' 所在的公共組件
所以要在需要使用的頁面的 module.ts 下引用這個公共組件
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。