Ver código fonte

fix baidu tongji path

Michael Wang 6 anos atrás
pai
commit
fad1fadf79
1 arquivos alterados com 1 adições e 1 exclusões
  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\/.+$/)) {