From f2e14fbd69737ca7717835fcc4e02c0f01de10d4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 02 二月 2026 10:12:42 +0800
Subject: [PATCH] fix: 修复扫码时code参数格式不一致导致的解析错误
---
src/composables/useScanCode.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/composables/useScanCode.ts b/src/composables/useScanCode.ts
index ade564f..2c77588 100644
--- a/src/composables/useScanCode.ts
+++ b/src/composables/useScanCode.ts
@@ -19,7 +19,7 @@
const initDebugListener = () => {
if (debugListenerInitialized) return;
-
+
// 鐩戝惉鎵�鏈夊彲鑳界殑鎵爜浜嬩欢
const eventNames = ["scan", "scanIndex", "scanJX", "scanLS"];
eventNames.forEach((eventName) => {
@@ -27,7 +27,7 @@
console.log(`馃攳 [鍏ㄥ眬璋冭瘯] 鎹曡幏鍒� ${eventName} 浜嬩欢:`, data);
});
});
-
+
debugListenerInitialized = true;
console.log("馃攳 [鍏ㄥ眬璋冭瘯] 璋冭瘯鐩戝惉鍣ㄥ凡鍒濆鍖�");
};
--
Gitblit v1.9.3