Refactor build and start scripts in package.json; add plugin to exclude debug files from production build in vite.config.ts; remove ConnectScreen component and replace with ConnectionPlaceholder in multiple pages; update DeviceContext to auto-connect using device IP from URL; enhance locale files with new device IP labels.

This commit is contained in:
yangy
2026-05-22 15:54:11 +08:00
parent 747331c850
commit 32f15217ad
13 changed files with 199 additions and 173 deletions
+3 -2
View File
@@ -12,7 +12,8 @@
"powerOffConfirmCancel": "取消",
"powerOffToastDemo": "演示模式:已中斷與裝置的連線",
"powerOffToastSent": "已傳送關機指令",
"doubleClickHint": "按兩下進入"
"doubleClickHint": "按兩下進入",
"backToLegacy": "返回舊版"
},
"vuPage": {
"title": "VU 表庫"
@@ -403,7 +404,7 @@
"deviceName": "裝置名稱",
"firmwareVersion": "韌體版本",
"macAddress": "MAC 位址",
"disconnect": "中斷連線"
"deviceIp": "裝置 IP"
}
},
"prompt": {