微信公众号h5的分享功能配置如下: 微信配置 wx.config({ debug, appId, timestamp, nonceStr, signature, jsApiList: [ 'onMenuShareAppMessage', 'updateAppMessageShareData' ] }); 配置成功后,在wx.ready里设置分享参数 wx.ready(function () { setWxShareApi({ title: 'xxxxxx&