Thanks to visit codestin.com Credit goes to developers.weixin.qq.com
获取当前页面栈。数组中第一个元素为首页,最后一个元素为当前页面。
App.onLaunch
getCurrentPages()
page