wx.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success(res) {
const tempFilePaths = res.tempFilePaths;
}
})
出现的机型:
{
"errMsg": "getSystemInfo:ok",
"model": "iPhone6",
"windowWidth": 375,
"windowHeight": 812,
"language": "zh_CN",
"screenWidth": 375,
"screenHeight": 812,
"pixelRatio": 1,
"version": "7.0.3",
"statusBarHeight": 20,
"system": "iOS 10.0.1",
"brand": "iPhone",
"fontSizeSetting": 16,
"safeArea": {
"right": 375,
"bottom": 812,
"left": 0,
"top": 20,
"width": 375,
"height": 792
},
"platform": "ios",
"SDKVersion": "2.15.0",
"enableDebug": false
}
请问解决了吗? 我也出现这个问题了, res里只返回了localIds数组。
打印一下res
那res返回了什么?fail有没有输出什么错误?