瀏覽代碼

允许模拟考试

y595705120 4 天之前
父節點
當前提交
b02d5f140b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/containers/center/play/index.vue

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

@@ -254,10 +254,10 @@
     methods: {
     methods: {
       startExam() {
       startExam() {
         let courseId = this.courseId
         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()
         delExam()
         this.$router.push(`/center/exam/${courseId}`);
         this.$router.push(`/center/exam/${courseId}`);
       },
       },