How can I provide the same instance of a service provided at component level to sub-component of same type

后端 未结 0 1273
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 09:06

I have following scenario:

Component A which provides a service (SomeService) at component level:

@Component({
    selector: \'app-a\',
    templateUrl: \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题