Ver Fonte

:bug: 全局关系图不显示 Fix https://github.com/siyuan-note/siyuan/issues/5114

Liang Ding há 3 anos atrás
pai
commit
bc2d609be6
1 ficheiros alterados com 0 adições e 3 exclusões
  1. 0 3
      kernel/api/graph.go

+ 0 - 3
kernel/api/graph.go

@@ -61,9 +61,6 @@ func getGraph(c *gin.Context) {
 
 	reqId := arg["reqId"]
 	ret.Data = map[string]interface{}{"reqId": reqId}
-	if nil == arg["id"] {
-		return
-	}
 
 	query := arg["k"].(string)
 	graphConf, err := gulu.JSON.MarshalJSON(arg["conf"])