🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293

This commit is contained in:
Liang Ding 2022-12-11 00:14:06 +08:00
parent bcf3422080
commit 0d3bd719aa
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 4 additions and 2 deletions

View file

@ -660,7 +660,7 @@ func GetDoc(startID, endID, id string, index int, keyword string, mode int, size
luteEngine.RenderOptions.NodeIndexStart = index
dom = luteEngine.Tree2BlockDOM(subTree, luteEngine.RenderOptions)
SetRecentDocByTree(tree)
SetRecentDocByTree(id, tree)
return
}