Quellcode durchsuchen

'加入百度统计'

chending1994 vor 4 Jahren
Ursprung
Commit
8eafa94bd2
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7 0
      public/index.html

+ 7 - 0
public/index.html

@@ -13,6 +13,13 @@
             })
             var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
             document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+            var _hmt = _hmt || [];
+            (function() {
+              var hm = document.createElement("script");
+              hm.src = "https://hm.baidu.com/hm.js?241f12e9b149beeea7565c8bfd509eeb";
+              var s = document.getElementsByTagName("script")[0]; 
+              s.parentNode.insertBefore(hm, s);
+            })();
         </script>
         <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
     </head>