Blogger Information
Blog 29
fans 0
comment 0
visits 34508
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
小程序返回上一页并刷新数据
徐郭鹏的博客
Original
837 people have browsed it

var pages = getCurrentPages();//获取页面栈
if (pages.length > 1) {
//上一个页面实例对象
var prePage = pages[pages.length - 2];
//调用上一个页面的onShow方法
prePage.onLoad({order_id: this.data.order_id})
}
wx.navigateBack({
delta: 1,
})

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post