diff --git a/components/tabbar.vue b/components/tabbar.vue index 9d62ed6..b24c9c5 100644 --- a/components/tabbar.vue +++ b/components/tabbar.vue @@ -84,8 +84,7 @@ async scanCode() { // #ifdef MP-WEIXIN uni.scanCode({ - onlyFromCamera: true, - scanType: ['qrCode'], + onlyFromCamera: false, success: (res) => { console.log('扫码结果:', res.result); },