//声明一个pages使用getCurrentPages方法 const pages = getCurrentPages() //声明一个当前页面 const perpage = pages[pages.length - 1] //执行刷新 perpage.onLoad()