WrBug
40081c2464
feat: 为所有数值显示添加千分位分隔符
- 重构 formatNumber 和 formatUSDC 函数,默认添加千分位分隔符
- 更新 Statistics.tsx、CopyTradingStatistics.tsx 等统计页面
- 更新 PositionList.tsx 持仓列表的数值显示
- 更新 AccountList.tsx 账户列表的余额显示
- 所有数值(金额、数量、价格等)现在默认显示千分位
- 示例:1234567.89 显示为 1,234,567.89
影响范围:
- 工具函数:utils/index.ts
- 统计页面:Statistics.tsx, CopyTradingStatistics.tsx
- 业务页面:PositionList.tsx, AccountList.tsx
Changes:
- Refactored formatNumber and formatUSDC to include thousand separators by default
- Updated statistics pages to display numbers with commas
- Updated position list and account list for better readability
- Example: 1234567.89 now displays as 1,234,567.89
2026-01-31 00:52:42 +08:00
..
2025-12-07 16:15:59 +08:00
2026-01-31 00:52:42 +08:00
2025-12-03 02:48:02 +08:00
2025-11-21 04:32:08 +08:00
2025-12-03 03:08:53 +08:00
2025-12-07 16:15:59 +08:00
2026-01-03 12:27:59 +08:00
2026-01-03 12:27:59 +08:00
2025-11-21 04:32:08 +08:00
2025-11-21 04:32:08 +08:00
2025-11-21 04:32:08 +08:00
2025-12-07 16:46:18 +08:00