javascript - angular browser jump problem
迷茫
迷茫 2017-06-12 09:27:22
0
1
511

I have five pages login A.html, home page B.html, cotyledon C.html, cotyledon D.html, cotyledon F.html. I used route to make jump setting interfaces, which are A, B, C, D, E. How to restrict the browser address that has not been logged in and cannot jump to other pages but can only jump to login A.

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all (1)
淡淡烟草味

https://alligator.io/angular/...
Use routing guard CanActivate for permission verification

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!