小优化

This commit is contained in:
xing 2023-03-31 14:33:09 +08:00
parent e7e643f5d3
commit 7e55253126

View File

@ -70,7 +70,6 @@ func Search(h *wp.Handle, id string) string {
return args return args
}) })
args = maps.Copy(args)
s := strings.ReplaceAll(searchTemplate, "{$form}", form) s := strings.ReplaceAll(searchTemplate, "{$form}", form)
val := "" val := ""
if h.Scene() == constraints.Search { if h.Scene() == constraints.Search {