Browse Source

fix 环境检测bug

Michael Wang 5 năm trước cách đây
mục cha
commit
6a93051dda
1 tập tin đã thay đổi với 7 bổ sung5 xóa
  1. 7 5
      src/features/OnlineExam/CheckComputer.vue

+ 7 - 5
src/features/OnlineExam/CheckComputer.vue

@@ -368,7 +368,7 @@
               <td>扫描二维码</td>
               <td>
                 <div v-if="wechat.qrScannedResolved">
-                  {{ wechat.qrScannedq ? "正常" : "出错" }}
+                  {{ wechat.qrScanned ? "正常" : "出错" }}
                 </div>
                 <div v-else>
                   <PulseLoader />
@@ -376,11 +376,11 @@
               </td>
               <td>
                 <div v-if="wechat.qrScannedResolved">
-                  <div v-if="wechat.qrScannedq">
+                  <div v-if="wechat.qrScanned">
                     <Icon class="pass-check" type="md-checkmark" />
                   </div>
                   <div v-else>
-                    <Icon class="fail-cross" title="下载出错" type="md-close" />
+                    <Icon class="fail-cross" title="扫描出错" type="md-close" />
                   </div>
                 </div>
                 <div v-else>
@@ -418,7 +418,7 @@
       </div>
     </div>
 
-    <div v-show="current === 5" class="section" style="text-align: center">
+    <div v-show="current === 5" class="section">
       <div class="list">
         <table>
           <tbody class="list-row">
@@ -516,7 +516,7 @@
         @click="() => this.$emit('on-close')"
         v-if="current === 5"
       >
-        返回考试列表
+        进入考试
       </Button>
     </div>
   </div>
@@ -774,6 +774,7 @@ export default {
             .then(() => {
               this.wechat.studentAnswer = q.fileUrl;
               this.wechat.uploadResolved = true;
+              this.wechat.uploadStatus = true;
               q.saved = true;
               if (acknowledgeStatus === "CONFIRMED")
                 this.$Message.info({
@@ -808,6 +809,7 @@ export default {
 .list {
   border: 1px solid #eeeeee;
   border-radius: 6px;
+  text-align: center;
 }
 
 .list table {