diff --git a/packages/taro-rn/src/lib/chooseImage/index.ts b/packages/taro-rn/src/lib/chooseImage/index.ts index 5a0239192260..d70c32c11606 100644 --- a/packages/taro-rn/src/lib/chooseImage/index.ts +++ b/packages/taro-rn/src/lib/chooseImage/index.ts @@ -50,10 +50,12 @@ function openCamera(options: Taro.chooseImage.Option): Promise { - const { count: imageCount, success, complete, fail } = options + const { count: imageCount, sizeType = [],success, complete, fail } = options return new Promise((resolve, reject) => { + // NOTE:react-native-syan-image-picker 暂不支持 Android 端压缩 SYImagePicker.showImagePicker({ imageCount, + quality: sizeType[0] === 'compressed' ? 70 : 90, }, (err, photos: any) => { if (err) { const res = {