Browse Source

记录考试过程中切屏

Michael Wang 4 years ago
parent
commit
d07dc038b3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/App.vue

+ 5 - 0
src/App.vue

@@ -53,6 +53,11 @@ export default {
             window.location.pathname.replace(/\d+/g, ""),
             "学生端不是置顶状态",
           ]);
+          if (this.$route.name === "OnlineExamingHome") {
+            this.$http.post("/api/ecs_oe_student/examControl/switchScreen", {
+              examRecordDataId: this.$route.params.examRecordDataId,
+            });
+          }
           return;
 
           // const redirectUrl = sessionStorage.getItem("redirectUrl");