wx.chooseImage调用相机怎么设置像素的清晰度?怎么判断返回的图片是拍照的还是选择相册的
wx.chooseImage({
count: 1,
sizeType: [‘original’],
sourceType: [‘album’, ‘camera’],
success(res) {
}
}
wx.chooseImage({
count: 1,
sizeType: [‘original’],
sourceType: [‘album’, ‘camera’],
success(res) {
}
}