Browse Source

可选相册

ZZ 1 tuần trước cách đây
mục cha
commit
3ee02b6da8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mer_uniapp/components/discoverDetails/index.vue

+ 1 - 1
mer_uniapp/components/discoverDetails/index.vue

@@ -573,7 +573,7 @@
 			onScan() {
 				// 只允许通过相机扫码
 				uni.scanCode({
-					onlyFromCamera: true,
+					onlyFromCamera: false,
 					scanType: 'qrCode',
 					success: function(res) {
 						console.log('条码类型:' + res.scanType);