添加新中新二代证读取器支持

This commit is contained in:
yuchenglong
2025-11-20 10:27:20 +08:00
parent 8aa5f7802f
commit 2406d600ef
27 changed files with 356 additions and 67 deletions

10
src/vite-env.d.ts vendored
View File

@@ -1 +1,11 @@
/// <reference types="vite/client" />
interface Window {
electronAPI: {
startIdCardListen: () => Promise<any>;
stopIdCardListen: () => Promise<any>;
onIdCardData: (callback: (data: any) => void) => void;
onIdCardError: (callback: (error: any) => void) => void;
removeIdCardListeners: () => void;
};
}