mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 20:08:49 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/14511
This commit is contained in:
parent
2d8b6c6edb
commit
8bcb5de0c3
1 changed files with 2 additions and 1 deletions
|
|
@ -4212,7 +4212,8 @@ func updateAttributeViewValue(tx *Transaction, attrView *av.AttributeView, keyID
|
|||
// 之前绑定了块
|
||||
|
||||
if val.IsDetached { // 现在是非绑定块
|
||||
unbindBlockAv(tx, avID, blockID)
|
||||
unbindBlockAv(tx, avID, val.Block.ID)
|
||||
val.Block.ID = ""
|
||||
} else {
|
||||
// 现在也绑定了块
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue