From 08cc30a90fdb92d718a1c828d2aa9d0d7d32ec4a Mon Sep 17 00:00:00 2001 From: WrBug Date: Sat, 31 Jan 2026 21:13:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=9B=9E=E6=B5=8B?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95=E7=9A=84=E7=9B=88=E4=BA=8F?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除盈亏列,进一步简化交易记录表格 - 盈亏信息已在统计卡片和图表中展示 --- frontend/src/pages/BacktestDetail.tsx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/frontend/src/pages/BacktestDetail.tsx b/frontend/src/pages/BacktestDetail.tsx index a2eab3e..f7bdab3 100644 --- a/frontend/src/pages/BacktestDetail.tsx +++ b/frontend/src/pages/BacktestDetail.tsx @@ -232,22 +232,6 @@ const BacktestDetail: React.FC = () => { width: 120, render: (value: string) => formatUSDC(value) }, - { - title: t('backtest.profitLoss') + ' (USDC)', - dataIndex: 'profitLoss', - key: 'profitLoss', - width: 120, - render: (value: string | null) => { - if (!value) return '-' - const num = parseFloat(value) - const color = num > 0 ? '#52c41a' : num < 0 ? '#ff4d4f' : undefined - return ( - - {formatUSDC(value)} - - ) - } - }, { title: t('backtest.balanceAfter') + ' (USDC)', dataIndex: 'balanceAfter',