更新打印机连接

This commit is contained in:
海明
2026-08-12 23:49:53 +08:00
parent af98593e6b
commit 71c2bc5d40
24 changed files with 1609 additions and 272 deletions
Vendored
+6
View File
@@ -5,6 +5,12 @@ interface ImportMetaEnv {
readonly VITE_OPENPRINT_API_BASE?: string
/** 可选:Bearer 鉴权 token */
readonly VITE_OPENPRINT_API_TOKEN?: string
/**
* 可选:本地打印客户端基地址,覆盖出厂默认 http://127.0.0.1:18888。
* 例:VITE_OPENPRINT_PRINTER_BASE=http://192.168.1.20:19000
* 优先级低于「设置 → 本地打印」里手填的 IP/端口。
*/
readonly VITE_OPENPRINT_PRINTER_BASE?: string
}
interface ImportMeta {