Angular6使用forRoot() 注册单一实例服务问题 假如我们有一个shareModule来存放公用的组件(Component)、指令(Directive)、管道(Pipe)、服务(Servic forRoot()