This commit is contained in:
Daniel 2025-08-11 01:10:00 +08:00
parent c640bfd91b
commit 7b8d163723
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 16 additions and 15 deletions

View file

@ -65,11 +65,11 @@ func RenderAttributeViewGallery(attrView *av.AttributeView, view *av.View, query
// 批量加载绑定块对应的树
var ialIDs []string
for cardID, keyValues := range cardsValues {
for _, keyValues := range cardsValues {
for _, kValues := range keyValues {
block := kValues.GetBlockValue()
if nil != block && !block.IsDetached {
ialIDs = append(ialIDs, cardID)
blockVal := kValues.GetBlockValue()
if nil != blockVal && !blockVal.IsDetached {
ialIDs = append(ialIDs, blockVal.Block.ID)
}
}
}