From 9c55934886a1fef3842fca73ae7fa977983694b2 Mon Sep 17 00:00:00 2001 From: Justineo Date: Tue, 2 Feb 2021 17:57:29 +0800 Subject: [PATCH] feat: update hm code --- plugins/hm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/hm.js b/plugins/hm.js index e05eb4b..3fdc39f 100644 --- a/plugins/hm.js +++ b/plugins/hm.js @@ -1,10 +1,10 @@ export default ({ app }) => { if (process.env.NODE_ENV !== 'production') return - var _hmt = window._hmt = window._hmt || [] + var _hmt = (window._hmt = window._hmt || []) 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] s.parentNode.insertBefore(hm, s)