From 12229e8eebb61d7c3ed760d1a791ea9dbc6cfec9 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Tue, 17 Mar 2026 20:01:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E8=81=94=E6=9D=BF=E5=9D=97?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/MobileFundTable.jsx | 7 ++++++- app/components/PcFundTable.jsx | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/components/MobileFundTable.jsx b/app/components/MobileFundTable.jsx index f33a78f..62984e2 100644 --- a/app/components/MobileFundTable.jsx +++ b/app/components/MobileFundTable.jsx @@ -715,7 +715,12 @@ export default function MobileFundTable({ const original = info.row.original || {}; const code = original.code; const value = (code && (relatedSectorByCode?.[code] ?? relatedSectorCacheRef.current.get(code))) || ''; - return value || '—'; + const display = value || '—'; + return ( +
+ {display} +
+ ); }, meta: { align: 'left', cellClassName: 'related-sector-cell', width: columnWidthMap.relatedSector ?? 120 }, }, diff --git a/app/components/PcFundTable.jsx b/app/components/PcFundTable.jsx index 208ccae..5a4430b 100644 --- a/app/components/PcFundTable.jsx +++ b/app/components/PcFundTable.jsx @@ -627,7 +627,12 @@ export default function PcFundTable({ const original = info.row.original || {}; const code = original.code; const value = (code && (relatedSectorByCode?.[code] ?? relatedSectorCacheRef.current.get(code))) || ''; - return value || '—'; + const display = value || '—'; + return ( +
+ {display} +
+ ); }, meta: { align: 'right', @@ -1196,7 +1201,6 @@ export default function PcFundTable({ const columnId = cell.column.id || cell.column.columnDef?.accessorKey; const isNameColumn = columnId === 'fundName'; const rightAlignedColumns = new Set([ - 'relatedSector', 'latestNav', 'estimateNav', 'yesterdayChangePercent',