jiangping
2024-07-29 3f324f4c5ec2dc66d502adf2ac72bc84f05a2ffd
wechat_jiaxuan/pages/webView/index.js
@@ -12,14 +12,12 @@
    link: ''
  },
  onLoad: function (options) {
    let that = this
    const eventChannel = this.getOpenerEventChannel()
    let that = this
    const eventChannel = this.getOpenerEventChannel()
    eventChannel.on('acceptDataFromOpenerPage', function(data) {
      console.log('参数', data)
      if (data.title)  wx.setNavigationBarTitle({ title: data.title })
      that.setData({ link: data.link, id: data.id })
      // saveBannerLookNum({ id: data.id })
    })
  },