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 }) }) },