diff --git a/app/components/reviews/ReviewPointsList.tsx b/app/components/reviews/ReviewPointsList.tsx index c3c2428..51e7e2e 100644 --- a/app/components/reviews/ReviewPointsList.tsx +++ b/app/components/reviews/ReviewPointsList.tsx @@ -546,11 +546,31 @@ const ReactTableTooltip = ({ content }: { content: string }) => { - // 表格内容直接渲染表格组件,非表格内容保持原有行为 + // 表格内容:主区域显示摘要,hover 悬浮显示完整表格 if (isTableLike) { + // 生成摘要文本:取第一行数据作为预览 + const summaryText = (() => { + const firstLine = content.split('\n').find(l => l.trim() && !/^\s*\|[-\s:]+\|/.test(l)); + return firstLine ? firstLine.trim().substring(0, 80) + (firstLine.length > 80 ? '...' : '') : content.substring(0, 80); + })(); + return (