使用uni,调用wx.previewImage 真机测试部分安卓机型无法预览 三种回调函数都不执行,ios可以预览,但是ios退出预览以后会出现卡死的情况,
代码:
wx.previewImage({
current: this.contentList[index1].imgs[index2],
urls: this.contentList[index1].imgs,
success(res) {
console.log(res, '图片预览成功');
},
fail(err) {
console.log(err, '图片预览失败');
}
});
安卓测试机型:魅族17(无效,安卓11),华为麦芒(无反应)华为nova4、小米11(正常),
iPhone测试机型:14plus

试试原生可以复现吗
showOriginal(index1, index2) {// 预览图片wx.previewImage({current: this.contentList[index1].imgs[index2],urls: this.contentList[index1].imgs,success(res) {console.log(res, '图片预览成功');},fail(err) {console.log(err, '图片预览失败');},complete(e){console.log(e);}});},