From c3157439c31d935ee431e677c9a2b7ebff632c1b Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Fri, 27 Feb 2026 21:56:58 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=A7=86=E5=9B=BE=E5=A6=82=E6=9E=9C=E6=9C=89?= =?UTF-8?q?=E6=8C=81=E4=BB=93=E9=87=91=E9=A2=9D=E5=88=99=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E6=8C=81=E4=BB=93=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/page.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/page.jsx b/app/page.jsx index dc1a561..059dc02 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -3949,7 +3949,13 @@ export default function HomePage() { > {f.name} - #{f.code} + + {(() => { + const holding = holdings[f.code]; + const profit = getHoldingProfit(f, holding); + return profit ? `¥${profit.amount.toFixed(2)}` : `#${f.code}`; + })()} + {(() => {