开发工具wx.getImageInfo获取不到图片
wx.chooseImage({
success: function (res) {
wx.getImageInfo({
src: res.tempFilePaths[0],
success: function (res) { console.log(res.width) console.log(res.height)
}
})
}
})
开发工具中wx.getImageInfo返回的是fail