getImageInfo: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