From df280fecbf6a9a18b87f59b323654f58c32365b6 Mon Sep 17 00:00:00 2001 From: zpc Date: Wed, 20 Aug 2025 12:45:15 +0800 Subject: [PATCH] 333 --- common/utils.js | 1 + index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/common/utils.js b/common/utils.js index f3b55a4..5a2d29f 100644 --- a/common/utils.js +++ b/common/utils.js @@ -20,6 +20,7 @@ export const getLocation = async () => { export const chooseImage = async () => { return new Promise((resolve, reject) => { uni.chooseImage({ + sourceType:['camera'], count: 1, success: (res) => { resolve(res); diff --git a/index.html b/index.html index b5d330d..64d61a8 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ +