// 预览图片
previewImageHandle (imageList, index) {
const imageListValue = imageList.map((res) => {
return UtilsBox.getUrlPrefix(res.picUrl)
})
//imageListValue: ["https://image.dada365.com/group1/20200901/926feca0-b2e4-48cc-a9ee-4167b14754fd.jpeg", "https://image.dada365.com/group1/20200901/b02e23d7-9245-43c5-87b7-5817971a38bf.jpeg", "https://image.dada365.com/group1/20200901/6ed52b75-23fd-4d5b-a478-f4d62424fa73.jpeg", "https://image.dada365.com/group1/20200901/36771264-ffb0-4d1d-b338-29030f68f474.jpeg", "https://image.dada365.com/group1/20200901/8da1fd6b-a7eb-4316-b793-dad5c2b664bb.jpeg"]
wx.previewImage({
current: imageListValue[index],
urls: imageListValue,
fail: function(res){
console.log(res, '------')// 没有打印
},
complete: function(res){
console.log(res, '------')// {errMsg: "previewImage:ok"}
}
})
}
你好,麻烦提供出现问题的微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
图片链接请求头是不是有区分安卓和iOS?