优化:未分类连续维护与柏拉图预汇总,同步已发布修复
This commit is contained in:
@@ -128,7 +128,7 @@ export function AiMarkdown({ content, className, evidenceLabels, evidencePrefix,
|
||||
if (isTableStart(lines, index)) {
|
||||
leadPending = false;
|
||||
const headers = tableCells(lines[index]);
|
||||
const hasIndex = headers[0]?.replace(/[*`]/g, '').trim() === '序号';
|
||||
const hasIndex = ['序号', '排名', '名次'].includes(headers[0]?.replace(/[*`]/g, '').trim() || '');
|
||||
index += 2;
|
||||
const body: string[][] = [];
|
||||
while (index < lines.length && lines[index].trim() && lines[index].includes('|')) body.push(tableCells(lines[index++]));
|
||||
|
||||
Reference in New Issue
Block a user