This commit is contained in:
iqudoo
2026-05-02 13:50:46 +08:00
parent 1c02c72b3b
commit 6e91cc0ef4
3 changed files with 6 additions and 6 deletions

View File

@@ -330,7 +330,7 @@ export function isSupportWebScan() {
export function isSupportImageScan() {
return typeof document !== 'undefined'
&& typeof URL !== 'undefined'
&& URL.createObjectURL;
&& !!URL.createObjectURL;
}
export function stopScanForWeb() {