扫码触发按键功能
This commit is contained in:
@@ -30,6 +30,7 @@ patch(barcodeGenericHandlers, "start", {
|
|||||||
"O-CMD.PAGER-FIRST": () => updatePager("first"),
|
"O-CMD.PAGER-FIRST": () => updatePager("first"),
|
||||||
"O-CMD.PAGER-LAST": () => updatePager("last"),
|
"O-CMD.PAGER-LAST": () => updatePager("last"),
|
||||||
"O-CMD.CONFIRM": () => customClickOnButton(".jikimo_button_confirm"),
|
"O-CMD.CONFIRM": () => customClickOnButton(".jikimo_button_confirm"),
|
||||||
|
};
|
||||||
|
|
||||||
barcode.bus.addEventListener("barcode_scanned", (ev) => {
|
barcode.bus.addEventListener("barcode_scanned", (ev) => {
|
||||||
const barcode = ev.detail.barcode;
|
const barcode = ev.detail.barcode;
|
||||||
|
|||||||
Reference in New Issue
Block a user