mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 15:34:16 +08:00
fmtPctText 直接 pct.toFixed(1), 但后端 change_pct 是小数制 (0.0366 = 3.66%, 见 quote_service.py「不乘 100」注释)。屏幕显示的 fmtPct (format.ts) 正确 ×100, 但语音的 fmtPctText 单独写漏了。 0.0366 → 旧「涨0.0%」/ 新「涨3.7%」 0.10 → 旧「涨0.1%」/ 新「涨10.0%」 ×100 后再 toFixed, 与 fmtPct 单位约定一致。tsc 通过。