mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-06 13:43:32 +08:00
移除百度统计代码
This commit is contained in:
@@ -77,25 +77,6 @@
|
||||
margin-top: 50px;
|
||||
}
|
||||
</style>
|
||||
<% if (htmlWebpackPlugin.options.appType == 'example') { %>
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
if (location.origin.includes('gitee')) {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?ba0ee7b31f404b7dc10bfcd8bdc7183d";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
}
|
||||
if (location.origin.includes('github')) {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?d07a64f7a02cd5e9c01e1b36948ac4a5";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
||||
@@ -156,7 +156,6 @@ module.exports = {
|
||||
args[0].cdn = cdn
|
||||
}
|
||||
args[0].debugTool = process.env.VUE_APP_DEBUG_TOOL
|
||||
args[0].appType = process.env.VUE_APP_TYPE
|
||||
return args
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user