From 25825281932050abb89fbc1631adce82dba1bc27 Mon Sep 17 00:00:00 2001 From: 18796357645 <674126018@qq.com> Date: Sat, 19 Jul 2025 12:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=AB=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/deviceBind/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/deviceBind/index.vue b/pages/deviceBind/index.vue index cd0b4c2..1140c36 100644 --- a/pages/deviceBind/index.vue +++ b/pages/deviceBind/index.vue @@ -87,7 +87,7 @@ export default { }, scanCode () { uni.scanCode({ - onlyFromCamera: true, // 只允许从相机扫码 + onlyFromCamera: false, // 允许从相册选择 scanType: ['qrCode'], // 只识别二维码 success: (res) => { console.log('扫码结果:', res);