Selaa lähdekoodia

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

Liang Ding 3 vuotta sitten
vanhempi
commit
bc2d609be6
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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"])