search

Home  >  Q&A  >  body text

angular.js - How to achieve paging refresh in angular to still be on the current page instead of the first page?

How to achieve paging refresh in angular and still stay on the current page instead of the first page?

習慣沉默習慣沉默2828 days ago587

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-15 17:09:22

    You can reflect your pagination in a route, which means that a specific page can be accessed through a certain route.

    Of course, you can also store the current paging page number in a cookie, and you can directly access the value in the cookie every time you enter the page.

    reply
    0
  • Cancelreply