mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 01:34:20 +01:00
🎨 文档树支持 Ctrl+Click 和 Shift+↑/↓ 进行多选 https://github.com/siyuan-note/siyuan/issues/1359
This commit is contained in:
parent
41a4d2fe9c
commit
5c3ae7c188
2 changed files with 10 additions and 11 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue