Home  >  Q&A  >  body text

angular.js - ionic跳转刷新页面

信息详情页点赞,评论后,返回信息列表页,如何刷新该信息的点赞数和评论数,是需要页面刷新还是能通过angular自动更新数据?

天蓬老师天蓬老师2693 days ago473

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