修改 华为商城相机问题

This commit is contained in:
GGJ
2024-09-10 08:48:01 +08:00
parent a8618d0b5d
commit 1dbecd890f
6 changed files with 35 additions and 27 deletions

View File

@@ -316,7 +316,9 @@ export default {
}
},
changeAuth() {
uni.scanCode({
onlyFromCamera:true,
success: (res) => {
console.log('条码类型:' + res.scanType)
console.log('条码内容:' + res.result)