From 16eba6429a4ed1a08ec761d87f63e592f4137778 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 28 Jun 2022 11:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiUploader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AiUploader.vue b/src/components/AiUploader.vue index 4a620f0d..56700bf6 100644 --- a/src/components/AiUploader.vue +++ b/src/components/AiUploader.vue @@ -112,7 +112,7 @@ export default { if (this.type == 'image') { uni.chooseImage(params) } else if (this.type == 'video') { - params.sourceType = ['camera', 'album'] + params.sourceType = ['album'] uni.chooseVideo(params) } else { uni.chooseFile(params)