mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
:file: 移除文件锁 https://github.com/siyuan-note/siyuan/issues/6010
This commit is contained in:
parent
56129699b9
commit
69a9713776
38 changed files with 193 additions and 438 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue