mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 11:34:10 +08:00
chore: 移除百度统计相关代码
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import '@/utils/baidu'
|
||||
|
||||
import '@/utils/system.copyright'
|
||||
|
||||
import FloatingVue from 'floating-vue'
|
||||
|
||||
@@ -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 {}
|
||||
Reference in New Issue
Block a user