fix(ui): 转换 Big 对象为原生数字修复服务端序列化报错,并补充 Fragment key 修复列表渲染警告
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user