Explorar o código

fix baidu tongji path

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
fad1fadf79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/router.js

+ 1 - 1
src/router.js

@@ -85,7 +85,7 @@ router.beforeEach((to, from, next) => {
   const loginPath = "/login/" + localStorage.getItem("domain");
 
   if (to.path) {
-    window._hmt.push(["_trackPageview", to.fullPath]);
+    window._hmt.push(["_trackPageview", "/oe" + to.fullPath]);
   }
 
   if (to.path.match(/^\/login\/.+$/)) {