From 9b0e5fd90dd5181214ab19066a29c1e596c1aa4e Mon Sep 17 00:00:00 2001 From: Cube <877211593@qq.com> Date: Fri, 29 Jul 2022 10:26:11 +0800 Subject: [PATCH] open DCE inner log; --- 5.others/debug/public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/5.others/debug/public/index.html b/5.others/debug/public/index.html index f9d8b6f6..25b54b57 100644 --- a/5.others/debug/public/index.html +++ b/5.others/debug/public/index.html @@ -42,6 +42,7 @@

Read Barcodes from Camera - Debug

document.getElementById('btn-show-scanner').addEventListener('click', async() => { try { let scanner = await (pScanner = pScanner || Dynamsoft.DBR.BarcodeScanner.createInstance()); + scanner.dce.constructor._onLog = console.log; let rs = await scanner.getRuntimeSettings(); rs.timeout = 100000; await scanner.updateRuntimeSettings(rs);