实况照片上传:小程序选图恢复压缩模式,避免 iOS HEIC 转 JPEG 后体积超限
This commit is contained in:
@@ -86,7 +86,7 @@ function chooseImageFilePath() {
|
||||
count: 1,
|
||||
mediaType: ['image'],
|
||||
sourceType: ['album', 'camera'],
|
||||
sizeType: ['original'],
|
||||
sizeType: ['compressed'],
|
||||
success(result) {
|
||||
const filePath = result.tempFiles && result.tempFiles[0] ? result.tempFiles[0].tempFilePath : ''
|
||||
resolve(filePath)
|
||||
|
||||
Reference in New Issue
Block a user