谢杰标 2 лет назад
Родитель
Сommit
c9952a23db
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 2
      src/pages/course-exam/index.vue
  2. 1 2
      src/pages/mock-exam/index.vue

+ 1 - 2
src/pages/course-exam/index.vue

@@ -866,7 +866,6 @@ export default {
       return new Promise((resolve) => {
         let self = this;
         this.$request.goodsDetail(this.goodsId).then((res) => {
-          console.log(res.data);
           self.goodsDetail = res.data;
           if (self.goodsDetail.goodsPhotoExamConfig) {
             let goodsPhotoExamConfig = JSON.parse(
@@ -1417,7 +1416,7 @@ export default {
         if (this.bankType == 2) {
           this.needBack = true;
         }
-        this.doMode = res.data.simulateStatus ? 3 : 1;
+        // this.doMode = res.data.simulateStatus ? 3 : 1;
         return Promise.resolve();
       });
     },

+ 1 - 2
src/pages/mock-exam/index.vue

@@ -1323,7 +1323,6 @@ export default {
      * 请求题目列表
      */
     goodsQuestionList() {
-      console.log(99988,this.orderGoodsId)
       this.$request[this.doMode==3?'goodsRandomQuestionList':'goodsQuestionList']({
           examId: this.examId,
           goodsId: this.goodsId,
@@ -1660,7 +1659,7 @@ export default {
         this.$request.bankExam(this.examId).then((res) => {
           this.bankType = res.data.doType;
           this.examData = res.data;
-          this.doMode = res.data.simulateStatus ? 3 : 1;
+          // this.doMode = res.data.simulateStatus ? 3 : 1;
           if (this.bankType == 2) {
             this.needBack = true;
           }