search

Home  >  Q&A  >  body text

angular.js - Problems encountered by ui-sref-active when using paginator

As shown in the picture, I want to implement a page like this.
After clicking the paginator to switch the page on the left, for example, switching to the fifth page, then clicking the side navigation and switching to the first page of another item, so the num (number of pages) passed in is 1, but In this way, after the pager switches pages, there will be no active items on the left side. How to solve this problem?

習慣沉默習慣沉默2820 days ago592

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-15 17:16:05

    If that doesn’t work, just use ng-class to write the activation status

    reply
    0
  • Cancelreply