This commit is contained in:
Vanessa 2024-02-16 10:54:18 +08:00
parent d3a4053f28
commit d89457eae6

View file

@ -142,6 +142,11 @@ export const genCellValue = (colType: TAVCol, value: string | any) => {
isNotTime: true,
}
};
} else if (colType === "relation") {
cellValue = {
type: colType,
relation: {blockIDs: [], contents: [value]}
};
}
} else if (typeof value === "undefined" || !value) {
if (colType === "number") {