Commit de9822da by zeven

修复识别字母条码问题

parent 9c8aee44
......@@ -98,7 +98,7 @@ const CounterMixins = ComposeComponent => {
DeviceEventEmitter.addListener('onError', () => (this.busy = false));
const handleScan = this.submitBarcode;
// if you want to react to keyUp
KeyEvent.onKeyUpListener(async e => {
KeyEvent.onKeyDownListener(async e => {
const {keyCode, pressedKey} = e;
if (keyCode === 66) {
// 回车事件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment