فهرست منبع

记录考试过程中切屏

Michael Wang 4 سال پیش
والد
کامیت
d07dc038b3
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  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");