mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 关系图部分关联丢失 Fix https://github.com/siyuan-note/siyuan/issues/7383
This commit is contained in:
parent
af12e702ad
commit
f4f08b1fcf
2 changed files with 13 additions and 10 deletions
|
|
@ -170,7 +170,7 @@ func QueryRefRootBlocksByDefRootIDs(defRootIDs []string) (ret map[string][]*Bloc
|
|||
}
|
||||
|
||||
if nil == ret[defRootID] {
|
||||
ret[defRootID] = []*Block{}
|
||||
ret[defRootID] = []*Block{&block}
|
||||
} else {
|
||||
ret[defRootID] = append(ret[defRootID], &block)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue