update
This commit is contained in:
@@ -8,9 +8,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
<link href="<%= BASE_URL %>favicon.ico" rel="icon">
|
<link href="<%= BASE_URL %>favicon.ico" rel="icon">
|
||||||
<script async="true" src="https://cdn.wwads.cn/js/makemoney.js"></script>
|
<script async="true" src="https://cdn.wwads.cn/js/makemoney.js"></script>
|
||||||
<script>
|
|
||||||
var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?300a24a5326d0e7a0ff1b14c4e8d9056";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();
|
|
||||||
</script>
|
|
||||||
<title><%= webpackConfig.name %></title>
|
<title><%= webpackConfig.name %></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -12,6 +12,15 @@ NProgress.configure({ showSpinner: false })// NProgress Configuration
|
|||||||
const whiteList = ['/login']// no redirect whitelist
|
const whiteList = ['/login']// no redirect whitelist
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
|
setTimeout(() => {
|
||||||
|
var _hmt = _hmt || [];
|
||||||
|
(function() {
|
||||||
|
var hm = document.createElement('script')
|
||||||
|
hm.src = 'https://hm.baidu.com/hm.js?300a24a5326d0e7a0ff1b14c4e8d9056'
|
||||||
|
var s = document.getElementsByTagName('script')[0]
|
||||||
|
s.parentNode.insertBefore(hm, s)
|
||||||
|
})()
|
||||||
|
}, 0)
|
||||||
if (to.meta.title) {
|
if (to.meta.title) {
|
||||||
document.title = Config.title + ' - ' + to.meta.title
|
document.title = Config.title + ' - ' + to.meta.title
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user