|
@@ -164,7 +164,7 @@ export default {
|
|
|
},
|
|
|
async raceEnter(course) {
|
|
|
const minutesAfterCourseStart = Math.floor(
|
|
|
- moment(this.getNow()).diff(moment(course.startTime), "seconds") / 30
|
|
|
+ moment(this.now).diff(moment(course.startTime), "seconds") / 30
|
|
|
);
|
|
|
|
|
|
window._hmt.push([
|
|
@@ -223,6 +223,14 @@ export default {
|
|
|
this.enterExam(course);
|
|
|
// return true;
|
|
|
} else {
|
|
|
+ window._hmt.push([
|
|
|
+ "_trackEvent",
|
|
|
+ "在线考试列表页面",
|
|
|
+ "摇号进入考试-courseId-" + course.examId,
|
|
|
+ minutesAfterCourseStart < 120
|
|
|
+ ? minutesAfterCourseStart / 2 + "分被限流"
|
|
|
+ : "60分后被限流",
|
|
|
+ ]);
|
|
|
this.$Modal.warning({
|
|
|
title: "提示",
|
|
|
content: "考试人员过多,请稍等2分钟再试。",
|