feat: update hm code
This commit is contained in:
parent
f00e011642
commit
9c55934886
@ -1,10 +1,10 @@
|
|||||||
export default ({ app }) => {
|
export default ({ app }) => {
|
||||||
if (process.env.NODE_ENV !== 'production') return
|
if (process.env.NODE_ENV !== 'production') return
|
||||||
|
|
||||||
var _hmt = window._hmt = window._hmt || []
|
var _hmt = (window._hmt = window._hmt || [])
|
||||||
|
|
||||||
var hm = document.createElement('script')
|
var hm = document.createElement('script')
|
||||||
hm.src = 'https://hm.baidu.com/hm.js?d204d9e2f2ad504d6fe10939a9b5b588'
|
hm.src = 'https://hm.baidu.com/hm.js?3b91e2b87603771f136a8c593a515811'
|
||||||
var s = document.getElementsByTagName('script')[0]
|
var s = document.getElementsByTagName('script')[0]
|
||||||
s.parentNode.insertBefore(hm, s)
|
s.parentNode.insertBefore(hm, s)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user