子页面
let page = getCurrentPages();
let prevPage = page[page.length - 2];
prevPage.setData({
lxr :item.post_name,
lxdh:item.post_mobilephone,
yjdz:yjdz,
yjdzxxdz:item.post_addressdetail
});
wx.navigateBack({
delta:1
})
父页面
let pages = getCurrentPages();
let currPage = pages[pages.length-1];
this.lxr = currPage.data.lxr;
this.lxdh = currPage.data.lxdh;
this.yjdz = currPage.data.yjdz;
this.yjdzxxdz = currPage.data.yjdzxxdz;
this.$apply();