关闭测试
This commit is contained in:
@@ -23,9 +23,9 @@ const U1: React.FC = () => {
|
|||||||
|
|
||||||
// 实时监听身份证读取
|
// 实时监听身份证读取
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
localStorage.setItem("lastIdCardNo", '362331199210243023');
|
// localStorage.setItem("lastIdCardNo", '362331199210243023');
|
||||||
navigate("/UI6");
|
// navigate("/UI6");
|
||||||
return;
|
// return;
|
||||||
window.electronAPI.startIdCardListen().catch((e: any) => {
|
window.electronAPI.startIdCardListen().catch((e: any) => {
|
||||||
console.error("start_idcard_listen failed", e);
|
console.error("start_idcard_listen failed", e);
|
||||||
window.electronAPI.log("error", `start_idcard_listen failed: ${e}`);
|
window.electronAPI.log("error", `start_idcard_listen failed: ${e}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user