|
本地测试无问题,请关注你的代码正确性和加载器的版本。
1.我的代码如下:
getImageInfo: function () {
media.pickImage({
success: function (data) {
console.log("pickImage success: " + data.uri);
image.getImageInfo({
uri: data.uri,
success: function (data) {
console.log("图片信息" + data.uri + "," + data.width + "," + data.height + "," + data.size)
},
fail: function (data, code) {
console.log("getImageInfo fail, code=" + code);
}
})
}
})
}
2.是否使用华为手机和华为快应用加载器,加载器版本为3.1.1.300
如有更多疑问加wx:cl1129107952 |
|