This commit is contained in:
Liang Ding 2022-09-29 21:52:01 +08:00
parent 56129699b9
commit 69a9713776
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
38 changed files with 193 additions and 438 deletions

View file

@ -116,9 +116,9 @@ func Doc2Heading(srcID, targetID string, after bool) (srcTreeBox, srcTreePath st
if !util.IsEmptyDir(subDir) {
err = errors.New(Conf.Language(20))
return
} else {
os.Remove(subDir) // 移除空文件夹不会有副作用
}
os.Remove(subDir) // 移除空文件夹不会有副作用
}
targetTree, _ := loadTreeByBlockID(targetID)