瀏覽代碼

修改填空题答题

aaa 3 年之前
父節點
當前提交
bc0d9ec1a5
共有 1 個文件被更改,包括 11 次插入4 次删除
  1. 11 4
      src/views/home/exam/page-exam.vue

+ 11 - 4
src/views/home/exam/page-exam.vue

@@ -191,10 +191,17 @@ export default {
             };
           }
         } else {
-          return {
-            status: this.examStatesType.STARTED,
-            statusTxt: "已开考"
-          };
+          if (this.exam.available) {
+            return {
+              status: this.examStatesType.STARTED,
+              statusTxt: "已开考"
+            };
+          } else {
+            return {
+              status: this.examStatesType.EXAMOVER,
+              statusTxt: "已考完 "
+            };
+          }
         }
       } else {
         return {