阅读背景:

如何在组件初始化angular2后从服务填充变量

来源:互联网 

I have a routed application that loads and works fine aside from the fact that I have an *ngIf element that does not show up on route change UNLESS I reload the page. I have a token variable from a service class where I store it in local storage, and I want to show my logout button when the token is not null. I have a routed application that loads and work




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

分享到: