mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
This commit is contained in:
parent
d3a4053f28
commit
d89457eae6
1 changed files with 5 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue