阅读背景:

使用服务将数据从组件A传递到组件B - Angular 2

来源:互联网 

Hi I am trying to pass a object from Component A to another sibling Component B and I am using service to do so and I am using Subject. But when calling the get method from service I am not able to get the data in Component B. I don't know what I am doing wrong. Any help would be great. My code is as below - Hi I am trying to pass a object from Component




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: