fix: change QRcode scanner's size

This commit is contained in:
snsd0805 2023-06-12 15:41:50 +08:00
parent abe480a526
commit 78c786ff7e
Signed by: snsd0805
GPG Key ID: 569349933C77A854

View File

@ -77,7 +77,7 @@ export default {
scan() {
this.scanner = new Html5QrcodeScanner(
"reader",
{ fps: 10, qrbox: { width: 250, height: 250 } },
{ fps: 10, qrbox: { width: 400, height: 400 } },
/* verbose= */ false);
this.scanner.render(this.onScanSuccess);
},