mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -83,6 +83,9 @@ func searchTag(c *gin.Context) {
|
||||
|
||||
k := arg["k"].(string)
|
||||
tags := model.SearchTags(k)
|
||||
if 1 > len(tags) {
|
||||
tags = []string{}
|
||||
}
|
||||
ret.Data = map[string]interface{}{
|
||||
"tags": tags,
|
||||
"k": k,
|
||||
|
||||
Reference in New Issue
Block a user