真机调试报错 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),
});
}
})
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
2023.11.6,还没解决吗?同样的问题
同样遇到此问题,真机调试 wx.showShareImageMenu 报同样的错误
一样,也报这个错