소스 검색

fix baidu tongji path

Michael Wang 6 년 전
부모
커밋
fad1fadf79
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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\/.+$/)) {