瀏覽代碼

fix url Fragment

fancl 1 年之前
父節點
當前提交
5f537fa6d2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      helper/url/url.go

+ 1 - 0
helper/url/url.go

@@ -97,6 +97,7 @@ func Build(opts ...Option) *url.URL {
 		Host:     o.Host,
 		Path:     o.Path,
 		RawQuery: qs.Encode(),
+		Fragment: o.Fragment,
 	}
 }