修改扫码
This commit is contained in:
parent
becc1a90ee
commit
2582528193
@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
scanCode () {
|
||||
uni.scanCode({
|
||||
onlyFromCamera: true, // 只允许从相机扫码
|
||||
onlyFromCamera: false, // 允许从相册选择
|
||||
scanType: ['qrCode'], // 只识别二维码
|
||||
success: (res) => {
|
||||
console.log('扫码结果:', res);
|
||||
|
Loading…
Reference in New Issue
Block a user