diff --git a/pages/API/choose-image/choose-image.uvue b/pages/API/choose-image/choose-image.uvue index 9cce448b46988bea9c3cd20f36022296f59ddc85..b813f32532b2a1a024dc0244d3490b99eed09532 100644 --- a/pages/API/choose-image/choose-image.uvue +++ b/pages/API/choose-image/choose-image.uvue @@ -273,8 +273,12 @@ sizeType: sizeTypeArray[this.sizeTypeIndex], crop: this.isCrop ? { "quality": this.cropPercent, "width": this.cropWidth, "height": this.cropHeight, "resize": this.cropResize } as ChooseImageCropOptions : null, count: this.imageList.length + this.count[this.countIndex] > 9 ? 9 - this.imageList.length : this.count[this.countIndex], + // #ifdef APP pageOrientation: orientationTypeArray[this.orientationTypeIndex], + // #endif + // #ifdef APP-ANDROID albumMode: albumModeTypeArray[this.albumModeTypeIndex], + // #endif success: (res) => { this.imageList = this.imageList.concat(res.tempFilePaths); }, diff --git a/pages/API/choose-video/choose-video.uvue b/pages/API/choose-video/choose-video.uvue index 0f72aa07e395d63a785be6bd4b52c038c1c56e25..5f684d2e54fe45f496423ebeb8ae31c15224d1dc 100644 --- a/pages/API/choose-video/choose-video.uvue +++ b/pages/API/choose-video/choose-video.uvue @@ -67,7 +67,9 @@ pageOrientation: this.orientationType, // #endif maxDuration: this.maxDuration, + // #ifdef APP-ANDROID albumMode: this.albumMode, + // #endif camera: this.camera, success: (res) => { console.log("chooseVideo success", JSON.stringify(res));