This commit is contained in:
Daniel 2025-08-10 17:45:46 +08:00
parent 2d8b6c6edb
commit 8bcb5de0c3
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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 {
// 现在也绑定了块