let pages = getCurrentPages(); let currPage = pages[pages.length - 1]; //当前页面 let prevPage = pages[pages.length - 2]; //上一个页面 let prevPage_ = pages[pages.length - 3]; prevPage.setData({ curr_arry_2: that.data.res_arry, photo_set_quantity: true }); console.log(that.data.res_arry) wx.navigateBack({ delta: 1 })
原文:https://www.cnblogs.com/wangshishuai/p/13156788.html