rwadurian/frontend/mining-app/lib/core
hailin 789a703ec8 fix(mining-app): 修复剩余积分股显示精度不足导致与总量看起来一样
问题:totalShares=100.02亿,totalMined≈18万,相减后≈100.0182亿,
但 formatCompact 在亿级别只保留2位小数,四舍五入后仍显示"100.02亿",
与总量无法区分。

修复:
- formatCompact 新增可选 precision 参数(默认2,向后兼容)
- 剩余积分股使用 precision=4,显示为"100.0182亿",可见差异

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 09:25:31 -08:00
..
config feat: 2.0 API 域名从 rwaapi.szaiai.com 迁移到 mapi.szaiai.com 2026-02-01 21:58:03 -08:00
constants feat(frontend): 添加全局深色模式支持 2026-01-19 19:08:03 -08:00
di fix(admin): correct distributed shares calculation to use 2M pool 2026-01-16 08:59:46 -08:00
error feat(capability): 实现用户能力权限控制系统(Capability-based Permission) 2026-02-27 22:19:56 -08:00
network fix(auth): LOGIN 能力禁用后强制下线已登录用户 2026-02-28 05:01:37 -08:00
router feat(notifications): 2.0系统通知弹窗功能(后端+管理端+APP端) 2026-03-02 08:35:16 -08:00
services feat(notifications): 2.0系统通知弹窗功能(后端+管理端+APP端) 2026-03-02 08:35:16 -08:00
telemetry feat: 集成 mining-app 升级和遥测功能,扩展 mobile-upgrade 支持多应用 2026-01-28 20:03:26 -08:00
updater feat: 2.0 API 域名从 rwaapi.szaiai.com 迁移到 mapi.szaiai.com 2026-02-01 21:58:03 -08:00
utils fix(mining-app): 修复剩余积分股显示精度不足导致与总量看起来一样 2026-03-02 09:25:31 -08:00