mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 当自定义排序时支持在文档上/下新建同级文档 https://github.com/siyuan-note/siyuan/issues/5098
This commit is contained in:
parent
23c6cf3b38
commit
b7beab267d
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue