接口名称:onMenuShareAppMessage
wx.onMenuShareAppMessage({
title: s_title, // 分享标题
desc: s_desc, // 分享描述
link: s_link, // 分享链接
imgUrl: s_imgUrl, // 分享图标
success: function (res) {
this.$notify({type: 'danger', message: '分享成功', duration: 0});
},
cancel: function (res) {
this.$notify({type: 'danger', message: '分享失败', duration: 0});
}
});
开启debug模式后,都是成功的,但是内容没有设置成。iPhoneXR,华为没有效果。iPhone6s设置设置成功。
微信公众号没有认证,就是没有给腾讯付费,所以自定义分享失效
问题是否解决 ,遇到了同样的问题
麻烦提供下appid,完整的请求,请求时间,以及完整的复现步骤
iPhoneXR,华为P30,设置失败,iPone6s,三星部分手机设置成功,请求时间:周一下午。
{debug: true, appId: "wx034a6bdf30c78ce4", timestamp: 1573011973, nonceStr: "5dc24205c9e54", signature: "df8ec15622000cc003bab682d94c693e26b5a573", …}
appId: "wx034a6bdf30c78ce4"
debug: true
jsApiList: (21) ["checkJsApi", "menu:share:weiboApp", "menu:share:appmessage", "menu:share:timeline", "updateAppMessageShareData", "updateTimelineShareData", "chooseImage", "imagePreview", "startRecord", "closeWindow", "stopRecord", "onVoiceRecordEnd", "playVoice", "uploadVoice", "uploadImage", "downloadImage", "openLocation", "geoLocation", "getBrandWCPayRequest", "scanQRCode", "hideOptionMenu"]
nonceStr: "5dc24205c9e54"
signature: "df8ec15622000cc003bab682d94c693e26b5a573"
timestamp: 1573011973}
{errMsg: "updateTimelineShareData:ok"}
{errMsg: "updateAppMessageShareData:ok"}
提示成功,但是没有设置成功