mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
cb70ae9213
commit
96530382f2
1 changed files with 11 additions and 0 deletions
|
|
@ -378,6 +378,17 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAVTable, options:
|
|||
return true;
|
||||
}
|
||||
});
|
||||
if (!cellData) {
|
||||
cellData = {
|
||||
color: "",
|
||||
bgColor:"",
|
||||
id: Lute.NewNodeID(),
|
||||
value: {
|
||||
mSelect: []
|
||||
},
|
||||
valueType: colData.type
|
||||
}
|
||||
}
|
||||
|
||||
const oldValue = Object.assign([], cellData.value.mSelect);
|
||||
if (colData.type === "mSelect") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue