使用wx.showShareImageMenu进行分享时报错:not supported
使用wx.showShareImageMenu分享时,手机端都正常分享,电脑端windows和mac都分享和收藏不了,报:not supported {errMsg: "showShareImageMenu:fail :not supported"} 在mac端真机调试时预览图片路径为:wxfile://temp/2117552542.jpg 图片是通过canvas绘制生成的本地图片(使用这个:绘制插件 的canvasToTempFilePathSync方法生成图片) [图片] wx.showShareImageMenu({
path: 'wxfile://temp/2117552542.jpg',
success() {
console.log('分享成功');
},
fail(e) {
console.log('分享失败', e);
}
});