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 |
|
WrBug
|
cd707255b2
|
fix: 修复前端编译错误
- 修复 ConfigPage.tsx 类型错误,改为提示页面(配置功能已迁移)
- 修复未使用变量警告(isMobile, Account, Space, Input, Row, Col, sourceTemplate)
- 前端编译成功,构建时间约 19 秒
|
2025-12-03 03:29:04 +08:00 |
|