♻️ 重命名重建索引函数

This commit is contained in:
Liang Ding 2022-09-16 19:45:46 +08:00
parent e2e929538b
commit 67ff76c605
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 11 additions and 11 deletions

View file

@ -296,7 +296,7 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {
}
IncSync()
RefreshFileTree()
FullReindex()
return
}
@ -343,7 +343,7 @@ func ImportData(zipPath string) (err error) {
}
IncSync()
RefreshFileTree()
FullReindex()
return
}
@ -518,7 +518,7 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) {
}
IncSync()
RefreshFileTree()
FullReindex()
} else { // 导入单个文件
fileName := filepath.Base(localPath)
if !strings.HasSuffix(fileName, ".md") && !strings.HasSuffix(fileName, ".markdown") {