diff --git a/app/src/main/ipc/register-handlers.ts b/app/src/main/ipc/register-handlers.ts index 0b6d8b9..9145dc3 100644 --- a/app/src/main/ipc/register-handlers.ts +++ b/app/src/main/ipc/register-handlers.ts @@ -104,8 +104,7 @@ export function registerIpcHandlers(): void { const snapshot: PrinterStatusSnapshot = { ribbonType: cached?.ribbonType ?? '—', statusText: parsed.statusText, - serialNo: cached?.serialNo ?? '—', - printedCount: cached?.printedCount ?? 0 + serialNo: cached?.serialNo ?? '—' } configStore.set('lastPrinterStatus', snapshot) return ok({ statusText: parsed.statusText, statusCode: code }) diff --git a/app/src/renderer/src/components/AppHeader.vue b/app/src/renderer/src/components/AppHeader.vue index ba55641..23bd153 100644 --- a/app/src/renderer/src/components/AppHeader.vue +++ b/app/src/renderer/src/components/AppHeader.vue @@ -10,7 +10,6 @@ >状态: {{ status.statusText }} 序列号: {{ status.serialNo }} - 已发行: {{ status.printedCount }}