更新文档

This commit is contained in:
yubaolee 2024-06-19 20:49:27 +08:00
parent cdc4f60c71
commit 16ba86ee71
2 changed files with 12 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Date: 2023-08-12 10:48:24
* @LastEditTime: 2024-06-19 20:42:17
* @LastEditTime: 2024-06-19 20:48:12
* @Description:
* @
* @Copyright (c) 2023 by yubaolee | ahfu~ , All Rights Reserved.
@ -14,7 +14,15 @@ module.exports = {
['link', {
rel: 'icon',
href: '/logo.png'
}]
}],['script',{},
`var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script')
hm.src = 'https://hm.baidu.com/hm.js?93a7b9a145222f9b7109d643a0c58f8d'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
})();
`]
],
extendMarkdown: (md) => {
md.set({

View File

@ -1,7 +1,7 @@
/*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Date: 2024-06-19 20:41:42
* @LastEditTime: 2024-06-19 20:42:39
* @LastEditTime: 2024-06-19 20:48:04
* @Description:
* @
* @Copyright (c) 2024 by yubaolee | ahfu~ , All Rights Reserved.
@ -16,7 +16,7 @@ export default ({ router }) => {
hm.src = 'https://hm.baidu.com/hm.js?93a7b9a145222f9b7109d643a0c58f8d'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
})()
})();
// 路由切换时触发百度统计
router.afterEach(function (to) {