mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🐛 文档树自定义排序拖拽不稳定 https://github.com/siyuan-note/siyuan/issues/7726
This commit is contained in:
parent
483b79bcf1
commit
1e7cf8917b
2 changed files with 7 additions and 4 deletions
|
|
@ -267,7 +267,9 @@ func moveDocs(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
err := model.MoveDocs(fromPaths, toNotebook, toPath)
|
||||
callback := arg["callback"]
|
||||
|
||||
err := model.MoveDocs(fromPaths, toNotebook, toPath, callback)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue