diff --git a/packages/vant-cli/site/desktop/index.html b/packages/vant-cli/site/desktop/index.html
index 0e5a20050..1598638ed 100644
--- a/packages/vant-cli/site/desktop/index.html
+++ b/packages/vant-cli/site/desktop/index.html
@@ -19,6 +19,9 @@
+ <% if (headHtml) { %>
+ <%- headHtml %>
+ <% } %>
<% if (htmlWebpackPlugin.options.usingSearch) { %>
+ <% if (headHtml) { %>
+ <%- headHtml %>
+ <% } %>
<% if (htmlWebpackPlugin.options.baiduAnalytics) { %>