mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🐛 删除文档后应关闭该文档的关系图、大纲和反链页签 https://github.com/siyuan-note/siyuan/issues/6468
This commit is contained in:
parent
262e8b3022
commit
0e651b097f
3 changed files with 29 additions and 7 deletions
|
|
@ -310,13 +310,6 @@ func removeDoc(c *gin.Context) {
|
|||
ret.Msg = err.Error()
|
||||
return
|
||||
}
|
||||
|
||||
evt := util.NewCmdResult("remove", 0, util.PushModeBroadcast, util.PushModeNone)
|
||||
evt.Data = map[string]interface{}{
|
||||
"box": notebook,
|
||||
"path": p,
|
||||
}
|
||||
util.PushEvent(evt)
|
||||
}
|
||||
|
||||
func removeDocs(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue