更新搜索框

This commit is contained in:
JiXieShi committed 2024-03-28 17:32:11 +08:00
1 parent 6e70a1d4df
commit 9c0d18a6d0
4 files changed
+38 -38

No files matched your search

-1
View File
@@ -24,7 +24,6 @@ func Index(w http.ResponseWriter, r *http.Request) {
search := r.Form.Get("search")
category := r.Form.Get("category")
tag := r.Form.Get("tag")
if search != "" || category != "" || tag != "" {
articles = models.ArticleSearch(&articles, search, category, tag)
}