fix(ui): 修复 HTML 中文编码损坏(PowerShell 默认编码误写)

从 2c6235d/261caf5 恢复 motor/index/can 页 UTF-8,
仅用 Python 以 UTF-8 重写 ?v= 缓存戳;boot_ecat 去掉误写问号。
勿再对 UTF-8 源文件用 Get-Content|Set-Content 默认编码。
This commit is contained in:
cbb
2026-09-21 02:52:54 +08:00
parent 34c3aebf6f
commit 43b2d4bc13
4 changed files with 214 additions and 206 deletions
+1 -1
View File
@@ -682,7 +682,7 @@ export async function bootEcatFlash() {
/* commit 成功只证明 A 区写进去了;邮箱读不到 APP 名 = EtherCAT 没恢复,
* 对用户就是「不能用」。这里禁止画成半成功:进度钉在提交完成那一档,
* 阶段 6/7 全部警告态,文案直接说清副作用。 */
setEcatStage(6, 'warn', '已复位?');
setEcatStage(6, 'warn', '已复位');
setEcatStage(7, 'err', 'EtherCAT 未恢复');
setEcatStatus('err', '刷写已提交,但 EtherCAT 不可用');
setEcatPct(100, '镜像已写入,但总线邮箱读不到 APP —— EtherCAT 当前不可用');