From ae65e215975ea5fec83e24a35583992d93c5d1c2 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 31 Aug 2023 10:09:36 +0800
Subject: [PATCH] 考試bug 修復,同时2台电脑登录考试页面时,会产生2个成绩修改

---
 src/views/startexam/index.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/startexam/index.vue b/src/views/startexam/index.vue
index 29ea20d..0435e3e 100644
--- a/src/views/startexam/index.vue
+++ b/src/views/startexam/index.vue
@@ -211,6 +211,8 @@
   created() {
     var useInfo = this.$store.state.exam.examUserData;
 
+    var scoreType = this.$store.state.exam.scoreType
+
     if (useInfo.isExam == 3) {
       window.name = "first";
       this.first = false;
@@ -225,6 +227,10 @@
       }
     }
 
+    if(scoreType==1){
+      this.first = false;
+    }
+
     const examInfo = this.$route.params.id;
 
     if (isNotEmpty(examInfo)) {

--
Gitblit v1.9.3