diff --git a/package.json b/package.json
index e78ca9922..3c462428b 100644
--- a/package.json
+++ b/package.json
@@ -66,7 +66,7 @@
"vue": ">= 2.6.0"
},
"devDependencies": {
- "@vant/cli": "^2.11.9",
+ "@vant/cli": "^2.11.10",
"prettier": "2.1.0",
"vue": "^2.6.12",
"vue-template-compiler": "^2.6.12"
diff --git a/packages/vant-cli/site/desktop/index.html b/packages/vant-cli/site/desktop/index.html
index e880f5301..18fb5d15c 100644
--- a/packages/vant-cli/site/desktop/index.html
+++ b/packages/vant-cli/site/desktop/index.html
@@ -20,7 +20,7 @@
<% if (htmlWebpackPlugin.options.headHtml) { %>
- <%- htmlWebpackPlugin.options.headHtml %>
+ <%= htmlWebpackPlugin.options.headHtml %>
<% } %>
<% if (htmlWebpackPlugin.options.usingSearch) { %>
<% if (htmlWebpackPlugin.options.headHtml) { %>
- <%- htmlWebpackPlugin.options.headHtml %>
+ <%= htmlWebpackPlugin.options.headHtml %>
<% } %>
<% if (htmlWebpackPlugin.options.baiduAnalytics) { %>