mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
b3e92a800e
commit
bd82eefbf3
1 changed files with 4 additions and 3 deletions
|
|
@ -256,10 +256,11 @@ func Mount(boxID string) (alreadyMount bool, err error) {
|
||||||
boxConf.Closed = false
|
boxConf.Closed = false
|
||||||
box.SaveConf(boxConf)
|
box.SaveConf(boxConf)
|
||||||
|
|
||||||
box.Index()
|
|
||||||
// 缓存根一级的文档树展开
|
// 缓存根一级的文档树展开
|
||||||
ListDocTree(box.ID, "/", util.SortModeUnassigned, false, false, Conf.FileTree.MaxListCount)
|
files, _, _ := ListDocTree(box.ID, "/", util.SortModeUnassigned, false, false, Conf.FileTree.MaxListCount)
|
||||||
util.ClearPushProgress(100)
|
if 0 < len(files) {
|
||||||
|
box.Index()
|
||||||
|
}
|
||||||
|
|
||||||
if reMountGuide {
|
if reMountGuide {
|
||||||
return true, nil
|
return true, nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue