moxunpw hace 3 años
padre
commit
4617741c67
Se han modificado 1 ficheros con 9 adiciones y 9 borrados
  1. 9 9
      public/static/lay/modules/layui/global.js

+ 9 - 9
public/static/lay/modules/layui/global.js

@@ -749,13 +749,13 @@ layui.define(['code', 'element', 'table', 'util', 'carousel', 'laytpl'], functio
 
 
     exports('global', home);
-});
 
-let outHtml = "<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-YRKS713KK0\"></script>\n" +
-    "<script>\n" +
-    "    window.dataLayer = window.dataLayer || [];\n" +
-    "    function gtag(){dataLayer.push(arguments);}\n" +
-    "    gtag('js', new Date());\n" +
-    "    gtag('config', 'G-YRKS713KK0');\n" +
-    "</script>";
-$('body').append(outHtml);
+    let outHtml = "<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-YRKS713KK0\"></script>\n" +
+        "<script>\n" +
+        "    window.dataLayer = window.dataLayer || [];\n" +
+        "    function gtag(){dataLayer.push(arguments);}\n" +
+        "    gtag('js', new Date());\n" +
+        "    gtag('config', 'G-YRKS713KK0');\n" +
+        "</script>";
+    $('body').append(outHtml);
+});