浏览代码

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\/.+$/)) {