更新打印机连接

This commit is contained in:
海明
2026-08-13 22:14:07 +08:00
parent 71c2bc5d40
commit 588e90e760
22 changed files with 349 additions and 118 deletions
Vendored
-6
View File
@@ -5,12 +5,6 @@ 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 {