Index: ssts-web/src/main/webapp/js/globalKeyDown.js =================================================================== diff -u -r15437 -r17461 --- ssts-web/src/main/webapp/js/globalKeyDown.js (.../globalKeyDown.js) (revision 15437) +++ ssts-web/src/main/webapp/js/globalKeyDown.js (.../globalKeyDown.js) (revision 17461) @@ -3,6 +3,7 @@ * 调用此方法后,需要再调用focus方法获取焦点,以便触发onkeydown事件 * @param callback */ +var g_stopDefault = true; function globalOnKeyDown(callback){ document.onkeydown = showKeyDown; @@ -59,6 +60,8 @@ barcodeTemp = ''; } stopBubble(event); - stopDefault(event); + if(g_stopDefault){ + stopDefault(event); + } } } \ No newline at end of file