From 31c465972e69e9bab39c47f68f137f3b925585f4 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Sun, 13 Mar 2022 21:52:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E7=99=BE=E5=BA=A6=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 9 --------- src/router/index.js | 9 --------- 2 files changed, 18 deletions(-) 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 }