首页 > 其他分享 >wx.navigateBack传参

wx.navigateBack传参

时间:2022-10-13 16:44:28浏览次数:83  
标签:传参 navigateBack prevPage let pages wx

参考:https://blog.csdn.net/GrootBaby/article/details/123799246

    let name = e.target.dataset.item.enterpriseName
    let pages = getCurrentPages()
    let prevPage = pages[pages.length - 2]
    prevPage.setData({
      companyName: name
    })
    wx.navigateBack({
      delta: 0,
    })

 

标签:传参,navigateBack,prevPage,let,pages,wx
From: https://www.cnblogs.com/jqynr/p/16788695.html

相关文章