diff --git a/public/index.html b/public/index.html index 28c3fed..89f8344 100644 --- a/public/index.html +++ b/public/index.html @@ -6,15 +6,6 @@ - <%= webpackConfig.name %> diff --git a/src/router/index.js b/src/router/index.js index 571d578..a5a351e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,15 +12,6 @@ NProgress.configure({ showSpinner: false })// NProgress Configuration const whiteList = ['/login']// no redirect whitelist router.beforeEach((to, from, next) => { - setTimeout(() => { - var _hmt = _hmt || []; - (function() { - var hm = document.createElement('script') - hm.src = 'https://hm.baidu.com/hm.js?90f1bda302c625462ddc43ce252b821b' - var s = document.getElementsByTagName('script')[0] - s.parentNode.insertBefore(hm, s) - })() - }, 0) if (to.meta.title) { document.title = Config.title + ' - ' + to.meta.title }