🎨 当自定义排序时支持在文档上/下新建同级文档 https://github.com/siyuan-note/siyuan/issues/5098

This commit is contained in:
Liang Ding 2022-07-01 23:08:56 +08:00
parent 23c6cf3b38
commit b7beab267d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -1483,6 +1483,10 @@ func rootChildIDs(rootID string) (ret []string) {
}
func ChangeFileTreeSort(boxID string, paths []string) {
if 1 > len(paths) {
return
}
WaitForWritingFiles()
writingDataLock.Lock()
defer writingDataLock.Unlock()