🎨 文档树支持 Ctrl+ClickShift+↑/↓ 进行多选 https://github.com/siyuan-note/siyuan/issues/1359

This commit is contained in:
Liang Ding 2022-11-03 18:50:18 +08:00
parent 0378cf52d5
commit 262e8b3022
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 2 additions and 2 deletions

View file

@ -1032,7 +1032,7 @@ func MoveDocs(fromPaths []string, toPath string) (err error) {
util.PushEndlessProgress(Conf.Language(116)) util.PushEndlessProgress(Conf.Language(116))
WaitForWritingFiles() WaitForWritingFiles()
fromPaths = util.FilterFromPaths(fromPaths, toPath) fromPaths = util.FilterMoveDocFromPaths(fromPaths, toPath)
pathsBoxes := getBoxesByPaths(fromPaths) pathsBoxes := getBoxesByPaths(fromPaths)
toID := strings.TrimSuffix(path.Base(toPath), ".sy") toID := strings.TrimSuffix(path.Base(toPath), ".sy")

View file

@ -175,7 +175,7 @@ func NormalizeEndpoint(endpoint string) string {
return endpoint return endpoint
} }
func FilterFromPaths(fromPaths []string, toPath string) (retFromPaths []string) { func FilterMoveDocFromPaths(fromPaths []string, toPath string) (retFromPaths []string) {
fromPaths = append(fromPaths, toPath) fromPaths = append(fromPaths, toPath)
retFromPaths = FilterSelfChildDocs(fromPaths) retFromPaths = FilterSelfChildDocs(fromPaths)
return return