how to refresh page in angular 2

后端 未结 6 1410
情话喂你
情话喂你 2021-02-02 08:19

I have created one router link as below. This router link loads ProductsStartComponent and then this component loads several other components using ngif and not via

6条回答
  •  心在旅途
    2021-02-02 08:58

    If you want to reload the page , you can easily go to your component then do :

    location.reload();
    

提交回复
热议问题