🎨 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
Reference in a new issue