阅读背景:

订阅功能以外无法访问的数据

来源:互联网 

I am passing data between components onload. When the component receives the information within the subscribe function it is able to use the data and do whatever with it, so a console.log works fine, so it is clearly receiving it, but immediately outside of the subscribe function the information is unaccessible and is undefined. So I can't run a console.log or do anything with the information. In the html, it says that it is undefined as well.I am passing data between components onload. Wh




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

分享到: