Vanessa 2024-03-08 21:48:19 +08:00
parent a08af3a486
commit f87ac01461

View file

@ -114,9 +114,11 @@ export const genAVValueHTML = (value: IAVCellValue) => {
break;
case "relation":
value?.relation?.contents?.forEach((item) => {
const rollupText = genAVRollupHTML(item);
if (rollupText) {
html += rollupText + ", ";
if (item) {
const rollupText = genAVRollupHTML(item);
if (rollupText) {
html += rollupText + ", ";
}
}
});
if (html && html.endsWith(", ")) {