mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 15:10:40 +08:00
🎨 Improve database editing https://github.com/siyuan-note/siyuan/issues/12343
This commit is contained in:
parent
11f5d29c29
commit
886f2d0ce7
@ -3037,7 +3037,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
|||||||
if !val.IsDetached { // 现在绑定了块
|
if !val.IsDetached { // 现在绑定了块
|
||||||
// 将游离行绑定到新建的块上
|
// 将游离行绑定到新建的块上
|
||||||
bindBlockAv(tx, avID, rowID)
|
bindBlockAv(tx, avID, rowID)
|
||||||
val.BlockID = val.Block.ID
|
if nil != val.Block {
|
||||||
|
val.BlockID = val.Block.ID
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// 之前绑定了块
|
// 之前绑定了块
|
||||||
|
Loading…
Reference in New Issue
Block a user