获取图片信息开发者工具会报错fail download image fail
wx.chooseImage({
success: function (res) {
wx.getImageInfo({
src: res.tempFilePaths[0],
success: function (res) { console.log(res.width) console.log(res.height)
}
})
}
})
本地上传的图片获取图片信息开发者工具会报错getImageInfo:fail download image fail
1.6.0