fix
This commit is contained in:
@@ -209,6 +209,7 @@
|
||||
<p>点击开始后,会按桥接、微信、Web 摄像头、图片识别的顺序选择可用扫码方式。</p>
|
||||
<div class="actions">
|
||||
<button onclick="startScan()" class="btn">开始扫码</button>
|
||||
<button onclick="scanImage()" class="btn secondary">选择图片识别</button>
|
||||
<button onclick="stopScan()" class="btn secondary">停止扫码</button>
|
||||
</div>
|
||||
</section>
|
||||
@@ -243,6 +244,7 @@
|
||||
});
|
||||
|
||||
IScan.startScan();
|
||||
IScan.scanImage();
|
||||
IScan.stopScan();</pre>
|
||||
</section>
|
||||
</main>
|
||||
@@ -341,6 +343,11 @@ IScan.stopScan();</pre>
|
||||
setStatus(IScan.getStatus());
|
||||
}
|
||||
|
||||
function scanImage() {
|
||||
hide();
|
||||
IScan.scanImage();
|
||||
}
|
||||
|
||||
ready();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user