How to make a component ngOnInit() again in another component's function?

后端 未结 0 1908

When a user logs in I want my navBar to initialise again so it will get the user\'s name and display it on the navBar and remove the register and login links.

Here is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题