阅读背景:

Angular 2:BehaviorSubject / Subject在构造函数外部不起作用

来源:互联网 

Hi I need pass the data from one component to another, for this I am using the class BehavorSubject(I tried too with Subject class, but doesnt works for me). This is my code: Home page has a filter, and when is selected a filter, it called the service and it service should change a variable of homePageHi I need pass the data from one component to a




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

分享到: