jiangping
2024-07-24 680028df90e18299ea72d242a28a3ddcd9a0441c
wechat_staff/pages/webView/index.js
@@ -16,7 +16,7 @@
    const eventChannel = this.getOpenerEventChannel()
   
    if (options.link) {
      that.setData({ link: options.link, id: options.id })
      that.setData({ link: options.link, id: options.id || '' })
    } else {
      // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
      eventChannel.on('acceptDataFromOpenerPage', function(data) {