From 8bcb5de0c3e254ecfdbbb14454d2b84ba2be6b61 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 10 Aug 2025 17:45:46 +0800 Subject: [PATCH] :art: Improve av https://github.com/siyuan-note/siyuan/issues/14511 --- kernel/model/attribute_view.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 99b975dad..e06a0d223 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -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 { // 现在也绑定了块