search

Home  >  Q&A  >  body text

javascript - angular browser jump problem

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.

迷茫迷茫2730 days ago563

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-06-12 09:29:22

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

    reply
    0
  • Cancelreply