- 设备上显示"运行环境加载失败(2,101)",这是怎么回事?
appid: wxb1634e913488ea24
03-30 - wx.updateAppMessageShareData调用没反应,是怎么回事啊?
wx.config({ debug: true, appId: appid, timestamp: timestamp, // 必填,生成签名的时间戳 nonceStr: nonceStr, // 必填,生成签名的随机串 signature: signature,// 必填,签名 jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage','onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareQZone'] }) wx.ready(function () { wx.checkJsApi({ jsApiList : ['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareAppMessage','onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareQZone'], success : function(res) { console.log(res); } }); wx.updateAppMessageShareData({ title:'饿了么红包', // 分享标题 desc: '饿了么红包描述', // 分享描述 link: location.href, // 分享链接 imgUrl: '', // 分享图标 success: function () {}, cancel: function () {} }) wx.error(function (res) { alert(JSON.stringify(res)); }); }) 代码如上,checkJsApi 的返回显示都是可用的,但是调接口没有反应额
2021-05-21