bug 467 569
This commit is contained in:
@@ -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(' + ');
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user