This commit is contained in:
iqudoo
2026-04-30 16:56:30 +08:00
parent 0acd16e0a5
commit 11113ab818
7 changed files with 386 additions and 15 deletions

View File

@@ -224,7 +224,8 @@ export function isSupportWebScan() {
return typeof navigator !== 'undefined'
&& navigator.mediaDevices
&& navigator.mediaDevices.getUserMedia
&& !!getBarcodeDetectorClass();
&& !!getBarcodeDetectorClass()
&& getConfig("webCanvasEnabled") !== false;
}
export function isSupportImageScan() {