Browse Source

记录考试过程中切屏

Michael Wang 4 năm trước cách đây
mục cha
commit
d07dc038b3
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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");