liancat
//转发功能 
  onShareAppMessage: function () {
    return {
      title: \'这里填写小程序的名字,如果不填写会默认当前小程序的名字\',
      path: \'这里填写分享出来的地址,如果不填写会默认当前页面\'
    }
  },

这个和data是同级的,更多参数

详情API:https://developers.weixin.qq.com/minigame/dev/api/share/wx.onShareAppMessage.html?search-key=onShareAppMessage

分类:

技术点:

相关文章:

  • 2021-10-04
  • 2021-09-05
  • 2021-12-15
  • 2021-12-21
  • 2021-09-19
  • 2021-08-23
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2021-12-06
  • 2021-08-17
  • 2022-01-01
  • 2021-12-19
  • 2021-07-05
  • 2021-10-20
  • 2022-12-23
相关资源
相似解决方案