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

@ -99,9 +99,9 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
// 批量获取块属性以提升性能
var ialIDs []string
for _, row := range ret.Rows {
block := row.GetBlockValue()
if nil != block && !block.IsDetached {
ialIDs = append(ialIDs, row.ID)
blockVal := row.GetBlockValue()
if nil != blockVal && !blockVal.IsDetached {
ialIDs = append(ialIDs, blockVal.Block.ID)
}
}
ials := BatchGetBlockAttrs(ialIDs)