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

This commit is contained in:
Liang Ding 2022-11-04 19:25:25 +08:00
parent 41a4d2fe9c
commit 5c3ae7c188
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 10 additions and 11 deletions

View file

@ -282,8 +282,9 @@ func moveDocs(c *gin.Context) {
fromPaths = append(fromPaths, fromPath.(string))
}
toPath := arg["toPath"].(string)
toNotebook := arg["toNotebook"].(string)
err := model.MoveDocs(fromPaths, toPath)
err := model.MoveDocs(fromPaths, toNotebook, toPath)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()