chore: 移除百度统计相关代码

This commit is contained in:
Hooray Hu
2024-01-16 09:55:54 +08:00
parent 06d6e18dac
commit 42da9626b7
2 changed files with 0 additions and 18 deletions
-2
View File
@@ -1,5 +1,3 @@
import '@/utils/baidu'
import '@/utils/system.copyright'
import FloatingVue from 'floating-vue'
-16
View File
@@ -1,16 +0,0 @@
if (!import.meta.env.DEV) {
const _hmt = []
_hmt.push(['_requirePlugin', 'UrlChangeTracker', {
shouldTrackUrlChange(newPath: any, oldPath: any) {
return newPath && oldPath
},
}]);
(function () {
const hm = document.createElement('script')
hm.src = 'https://hm.baidu.com/hm.js?7bb58fdfd1fe8ab146d4b4f23686b768'
const s = document.getElementsByTagName('script')[0]
s.parentNode?.insertBefore(hm, s)
})()
}
export {}