angular项目新增的组件引用的时候报错“Did you add it to @NgModule.entryComponents?”,解决办法就是在入口文件的module中添加新增组件的component


image.png


寿兽
21 声望1 粉丝