mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🎨 Improve update time of database bound document blocks https://github.com/siyuan-note/siyuan/issues/11042
This commit is contained in:
parent
ee42be1729
commit
3403bdca99
1 changed files with 1 additions and 0 deletions
|
|
@ -1245,6 +1245,7 @@ func createdUpdated(node *ast.Node) {
|
|||
parents := treenode.ParentNodes(node)
|
||||
for _, parent := range parents { // 更新所有父节点的更新时间字段
|
||||
parent.SetIALAttr("updated", updated)
|
||||
cache.PutBlockIAL(parent.ID, parse.IAL2Map(parent.KramdownIAL))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue