Explorar el Código

允许模拟考试

y595705120 hace 4 días
padre
commit
b02d5f140b
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/containers/center/play/index.vue

+ 4 - 4
src/containers/center/play/index.vue

@@ -254,10 +254,10 @@
     methods: {
       startExam() {
         let courseId = this.courseId
-        if (this.info.getXs < this.info.totalXs) {
-          this.$message.errorMsg("课程还未完成", 2)
-          return;
-        }
+        // if (this.info.getXs < this.info.totalXs) {
+        //   this.$message.errorMsg("课程还未完成", 2)
+        //   return;
+        // }
         delExam()
         this.$router.push(`/center/exam/${courseId}`);
       },