在开发过程中引入新的组件时出现了如下问题:

image.png
实际问题造成的原因:

image.png
1中没有引入服务2
问题解决方法:搜索找到服务2,在其module中引入该服务就ok了。
import { ReportTemplatesService } from './report-templates.service';
在开发过程中引入新的组件时出现了如下问题:
实际问题造成的原因:
1中没有引入服务2
问题解决方法:搜索找到服务2,在其module中引入该服务就ok了。
import { ReportTemplatesService } from './report-templates.service';