mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
f68857fda5
commit
ebd399c018
11 changed files with 13 additions and 81 deletions
|
|
@ -85,13 +85,13 @@ export const removeSelectCell = (protyle: IProtyle, data: IAVTable, options: {
|
|||
transaction(protyle, [{
|
||||
action: "updateAttrViewCell",
|
||||
id: cellId,
|
||||
rowID: rowId,
|
||||
keyID: colId,
|
||||
parentID: data.id,
|
||||
data: cellData.value
|
||||
}], [{
|
||||
action: "updateAttrViewCell",
|
||||
id: cellId,
|
||||
rowID: rowId,
|
||||
keyID: colId,
|
||||
parentID: data.id,
|
||||
data: {
|
||||
[colData.type]: oldValue
|
||||
|
|
@ -403,7 +403,7 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAVTable, options:
|
|||
}, {
|
||||
action: "updateAttrViewCell",
|
||||
id: cellId,
|
||||
rowID: rowId,
|
||||
keyID: colId,
|
||||
parentID: data.id,
|
||||
data: cellData.value
|
||||
}], [{
|
||||
|
|
@ -416,13 +416,13 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAVTable, options:
|
|||
transaction(protyle, [{
|
||||
action: "updateAttrViewCell",
|
||||
id: cellId,
|
||||
rowID: rowId,
|
||||
keyID: colId,
|
||||
parentID: data.id,
|
||||
data: cellData.value
|
||||
}], [{
|
||||
action: "updateAttrViewCell",
|
||||
id: cellId,
|
||||
rowID: rowId,
|
||||
keyID: colId,
|
||||
parentID: data.id,
|
||||
data: {
|
||||
[colData.type]: oldValue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue