This commit is contained in:
Vanessa 2024-01-01 23:08:28 +08:00
parent e6a8abf004
commit 6f0c68f506
11 changed files with 29 additions and 31 deletions

View file

@ -667,7 +667,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => {
};
const renderRollup = (cellValue: IAVCellValue) => {
let text = ""
let text = "";
if (["text"].includes(cellValue.type)) {
text = cellValue ? (cellValue[cellValue.type as "text"].content || "") : "";
} else if (["url", "email", "phone"].includes(cellValue.type)) {
@ -700,7 +700,7 @@ const renderRollup = (cellValue: IAVCellValue) => {
}
}
return text;
}
};
export const updateHeaderCell = (cellElement: HTMLElement, headerValue: {
icon?: string,