fix(ui): 转换 Big 对象为原生数字修复服务端序列化报错,并补充 Fragment key 修复列表渲染警告

This commit is contained in:
2026-04-29 09:56:42 +08:00
parent eaeb143190
commit a408cad494
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ export async function getPortfolioSummary() {
const chartData = positions.map((pos, index) => ({
name: pos.symbol,
value: new Big(pos.cnyValue),
value: new Big(pos.cnyValue).toNumber(),
fill: [
'#3b82f6',
'#8b5cf6',