From 89ea4121bd9a071d00003e6d7ba86e99fade80eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= <1633537611@qq.com> Date: Fri, 15 Nov 2024 12:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9chooseImage=E5=92=8CchooseVid?= =?UTF-8?q?eo=20web=E7=AB=AF=E7=BC=96=E8=AF=91=E6=8A=A5=E8=AD=A6=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/choose-image/choose-image.uvue | 4 ++++ pages/API/choose-video/choose-video.uvue | 2 ++ 2 files changed, 6 insertions(+) diff --git a/pages/API/choose-image/choose-image.uvue b/pages/API/choose-image/choose-image.uvue index 9cce448b..b813f325 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 0f72aa07..5f684d2e 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)); -- GitLab