mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
This commit is contained in:
parent
7b2f1a0efc
commit
ae4272eafb
2 changed files with 25 additions and 0 deletions
|
|
@ -1247,6 +1247,7 @@ func removeDoc(box *Box, p string) (err error) {
|
|||
|
||||
treenode.RemoveBlockTreesByPathPrefix(childrenDir)
|
||||
sql.RemoveTreePathQueue(box.ID, childrenDir)
|
||||
RemoveRecentDoc(removeIDs)
|
||||
|
||||
if "/" != dir {
|
||||
others, err := os.ReadDir(filepath.Join(util.DataDir, box.ID, dir))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue