获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
同样遇到此问题,真机调试 wx.showShareImageMenu 报同样的错误
wx.showShareImageMenu 这个api真机调试报错?真机调试报错 errMsg: "showShareImageMenu:fail Cannot read property 'initScl' of undefined" wx.getImageInfo({ src: that.data.shareInfo.photoUrl, success: (res) => { console.log(res, 'res') wx.hideLoading() wx.showShareImageMenu({ path: res.path, success: () => {}, fail: (res) => console.log(res), }); } })
2023-03-27