Browse Source

增加百度统计事件

Michael Wang 6 years ago
parent
commit
6ccc76acac
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/features/OnlineExam/Examing/ExamingHome.vue

+ 6 - 0
src/features/OnlineExam/Examing/ExamingHome.vue

@@ -496,6 +496,12 @@ export default {
       );
     },
     reloadPage() {
+      window._hmt.push([
+        "_trackEvent",
+        "正在考试页面",
+        "页面加载失败",
+        "reload"
+      ]);
       window.location.reload();
     }
   },