diff --git a/public/index.html b/public/index.html index c34309c2..100ba2a4 100644 --- a/public/index.html +++ b/public/index.html @@ -80,19 +80,20 @@ <% if (htmlWebpackPlugin.options.appType == 'example') { %> <% } %> diff --git a/src/router/index.js b/src/router/index.js index d408241f..725e981f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -189,12 +189,6 @@ router.beforeEach(async(to, from, next) => { }) } } - // 百度统计代码 - if (process.env.VUE_APP_TYPE == 'example') { - if (window._hmt) { - window._hmt.push(['_trackPageview', location.pathname + '#' + to.fullPath]) - } - } next() })