search

Home  >  Q&A  >  body text

angular.js - ionic jump refresh page

After liking and commenting on the information details page, return to the information list page. How to refresh the number of likes and comments of the information? Does it require a page refresh or can the data be automatically updated through Angular?

天蓬老师天蓬老师2774 days ago559

reply all(3)I'll reply

  • 滿天的星座

    滿天的星座2017-05-15 17:03:51

    This can be achieved by listening to the $ionicView.beforeEnter event on the list page

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 17:03:51

    Ctrl reads data and the page is updated and displayed through binding. Why refresh?

    reply
    0
  • PHP中文网

    PHP中文网2017-05-15 17:03:51

    Try writing cache false in the route

    reply
    0
  • Cancelreply