[Parity][inv-skills][S3][R] 数字用 toLocaleString 加千分位 #695

Closed
opened 2026-10-02 11:42:57 +00:00 by troytt · 1 comment
Owner

1.13c 客户端保真度审计立项(基准快照:7bd1090 / main @ 77a20c7)

证据标记说明:V-data = 1.13c MPQ 数据表 (.txt / animdata.d2 / .tbl / pal.pl2);V-src = D2MOO 逆向源码;V-bin = 1.13c DLL 反汇编;K = 1.13c 公认行为。

来源审计项:inv-skills#19 — [S3][R] 数字用 toLocaleString 加千分位

  • 位置:
    • src/client/ui/inventory.ts:2314:金币。
    • src/client/ui/character-sheet.ts:147、150:经验、下一级经验。
  • 原版:D2 显示纯整数,没有千分位分隔符(K-中)。
  • 影响:显示为 "1,234,567" 而不是 "1234567",且随浏览器区域设置变化。
  • 建议:改用 String(n)。
  • 已有 issue:—
> **1.13c 客户端保真度审计立项**(基准快照:`7bd1090` / `main @ 77a20c7`) > 证据标记说明:`V-data` = 1.13c MPQ 数据表 (`.txt` / `animdata.d2` / `.tbl` / `pal.pl2`);`V-src` = D2MOO 逆向源码;`V-bin` = 1.13c DLL 反汇编;`K` = 1.13c 公认行为。 ### 来源审计项:`inv-skills#19` — [S3][R] 数字用 toLocaleString 加千分位 - 位置: - `src/client/ui/inventory.ts:2314`:金币。 - `src/client/ui/character-sheet.ts:147、150`:经验、下一级经验。 - 原版:D2 显示纯整数,没有千分位分隔符(K-中)。 - 影响:显示为 "1,234,567" 而不是 "1234567",且随浏览器区域设置变化。 - 建议:改用 `String(n)`。 - 已有 issue:—
Author
Owner

Fixed and verified in commit f209f4e on main.

Fixed and verified in commit f209f4e on main.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#695
No description provided.