This commit is contained in:
Daniel 2024-08-31 22:56:11 +08:00
parent 11f5d29c29
commit 886f2d0ce7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -3037,7 +3037,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
if !val.IsDetached { // 现在绑定了块
// 将游离行绑定到新建的块上
bindBlockAv(tx, avID, rowID)
val.BlockID = val.Block.ID
if nil != val.Block {
val.BlockID = val.Block.ID
}
}
} else {
// 之前绑定了块