How to change default home page path ' ' to a different route if there is data in local storage in Angular

后端 未结 0 746
不思量自难忘°
不思量自难忘° 2021-01-25 04:49

I have a default page route location that I want to change if I have some data saved in local storage. For Example : {path: \'\', redirectTo: "/home", pathMatch: "

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