Jelajahi Sumber

fix baidu tongji path

Michael Wang 6 tahun lalu
induk
melakukan
fad1fadf79
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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\/.+$/)) {