瀏覽代碼

加上百度统计

任一存 1 年之前
父節點
當前提交
3646a5356f
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      public/index.html

+ 12 - 0
public/index.html

@@ -17,6 +17,18 @@
     <!-- <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/CAD/cad.css?v=2.25"/> -->
     <style>
     </style>
+
+    <!-- 百度统计 -->
+    <script>
+      var _hmt = _hmt || [];
+      (function() {
+        var hm = document.createElement("script");
+        hm.src = "https://hm.baidu.com/hm.js?6f035746d474ab495a151ed56ad91388";
+        var s = document.getElementsByTagName("script")[0]; 
+        s.parentNode.insertBefore(hm, s);
+      })();
+    </script>
+    
     <script>
         var number = window.location.href.substring(window.location.href.indexOf("=") + 1);
         if (number.indexOf("&") != -1) {