wechat_jiaxuan/pages/webView/index.js
@@ -12,9 +12,8 @@ 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 })