小程序分享连接配置

页面内点击按钮调起分享 首先定义一个button,type设置为share(注意,必定要是button才能够):javascript <button type="default" open-type="share">分享</button> 配置分享 // 分享配置 onShareAppMessage(res) { // 页面内按钮分享 if (res.from === 'button')
相关文章
相关标签/搜索