Browse Source

避免百度统计事件过多

Michael Wang 6 năm trước cách đây
mục cha
commit
ed089e3973
1 tập tin đã thay đổi với 2 bổ sung7 xóa
  1. 2 7
      src/features/OfflineExam/OfflineExamList.vue

+ 2 - 7
src/features/OfflineExam/OfflineExamList.vue

@@ -136,16 +136,11 @@ export default {
         "?isback=true";
     },
     downloadOfflineFile(url) {
-      window._hmt.push(["_trackEvent", "离线考试页面", "下载作答", url]);
+      window._hmt.push(["_trackEvent", "离线考试页面", "下载作答"]);
       window.location.href = url;
     },
     tempDisableBtn(course) {
-      window._hmt.push([
-        "_trackEvent",
-        "离线考试页面",
-        "下载试卷",
-        course.courseName
-      ]);
+      window._hmt.push(["_trackEvent", "离线考试页面", "下载试卷"]);
       this.disableDownloadPaperBtn = true;
       setTimeout(() => (this.disableDownloadPaperBtn = false), 10 * 1000);