bug 467 569

This commit is contained in:
Ranyunqiao
2026-06-04 12:55:34 +08:00
parent 14a81564bf
commit 43b998e6ef
24 changed files with 12816 additions and 11787 deletions

View File

@@ -667,12 +667,10 @@ const buildApplicationName = (row) => {
// 单一项目:直接显示项目全名
return details[0].adviceName || row.name || '-';
}
// 多个项目:首项 + 第二项 + 等n项
// 多个项目:项目1 + 项目2 + ...
const names = details.map((d) => d.adviceName).filter(Boolean);
if (names.length === 0) return row.name || '-';
const first = names[0];
const second = names.length > 1 ? ` + ${names[1]}` : '';
return `${first}${second}${details.length}`;
return names.join(' + ');
};
/**