阅读背景:

将数据从Root(app)Componenet传递到路由组件

来源:互联网 

I want to make an API call by using a service call from within my app's root component (AppComponent). The resulting data needs to be displayed by one or more other (child) components that are controlled by the RouterModule. For example:I want to make an API call by using a service c




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

分享到: