在开发版和体验版中 调用 wx.showShareImageMenu 发送给朋友和收藏和保存图片是正常的 就分享到朋友圈和发表到公众号是报错:当前网络状态不佳,请稍后再试
onLoad代码:
wx.showShareMenu({
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
})
调用wx.showShareImageMenu api
wx.downloadFile({
url: 'https://snk2025-1305456087.cos.ap-guangzhou.myqcloud.com/user/20251128/AO36739565.jpg',
success: (res) => {
this.closeShareSheet()
wx.showShareImageMenu({
path: res.tempFilePath
})
}
})

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
苹果测试机型目前没有遇到这个问题,xiaomi HyperOS 系统出现了这个问题
我也遇到了这个问题,我有一个486x486的PNG图片,图片大小在73.37KB,使用wx.showShareImageMenu 进行朋友圈分享,丝滑分享不出去