小程序刷新页面

    //声明一个pages使用getCurrentPages方法
    const pages = getCurrentPages()

    //声明一个当前页面
    const perpage = pages[pages.length - 1]

    //执行刷新
    perpage.onLoad()

  

posted @ 2020-09-01 09:58  _JZYU  阅读(410)  评论(0)    收藏  举报