fix(dashboard): 活跃换手列表换手率显示 ×100

overview 返回的 turnover_rate 为小数制, 活跃换手列表需 ×100 转百分数显示。
仅改此一处, 其他页面与 KPI 卡片不动。
This commit is contained in:
shy3130
2026-06-23 14:00:36 +08:00
parent 3bedd3e209
commit 4601816b3b
+2 -1
View File
@@ -405,7 +405,8 @@ function StockList({ title, rows, mode }: { title: string; rows: MarketSnapshotR
</>
) : mode === 'active' ? (
<>
<div className="font-mono text-[11px] text-accent">{fmtPrice(r.turnover_rate, 1)}%</div>
{/* overview 的 turnover_rate 为小数制, 需 ×100 转百分数显示 */}
<div className="font-mono text-[11px] text-accent">{fmtPrice(r.turnover_rate != null ? r.turnover_rate * 100 : null, 1)}%</div>
<div className={`font-mono text-[9px] ${pctClass(r.change_pct)}`}>{fmtStockPct(r.change_pct)}</div>
</>
) : (