onShareAppMessage分享空白?
发布于 6 年前 作者 yangzheng 6413 次浏览 来自 官方Issues

onShareAppMessage分享空白,button转发的就正常这是怎么回事?

2 回复
 onShareAppMessage: function(e) {
    let from_name = e.from
    if (from_name == "menu") {
      return {
        title: "",
        path: "pages/index/index",
        imageUrl: ""
      }
    }
    return {
      title: "",
      path: "pages/index/index",
      imageUrl: ""
    }
  },

什么意思?你难道是直接this.onShareAppMessage()???

回到顶部