diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f2a6f0a..33de82b 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -16,7 +16,19 @@ module.exports = { // base: "/408CSFamily/", port: 4200, head: [ - ["link", { rel: "icon", href: "/408_favicon.ico" }] + [ + "link", { rel: "icon", href: "/408_favicon.ico" } + ], + [// 百度统计 + 'script',{},` + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?3515cc46ae60747b778140f0e5e22dfe"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })();` + ] ], themeConfig: { logo: "/assets/408_logo.png",