谢杰标 пре 2 година
родитељ
комит
0bc76971e4
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 3 0
      src/components/courseTree/CourseTree.vue
  2. 1 1
      src/pages/course-exam/index.vue

+ 3 - 0
src/components/courseTree/CourseTree.vue

@@ -1162,6 +1162,9 @@ export default {
         return false;
       }
     },
+    orderGoodsId() {
+      return this.query.orderGoodsId;
+    },
   },
 };
 </script>

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

@@ -1947,7 +1947,7 @@ export default {
       }
     },
     examSubmit() {
-      if (this.needPhoto && !this.hasTake) {
+      if (this.learning!=1 && this.needPhoto && !this.hasTake) {
         this.$confirm("未拍照成功不能交卷", "提示", {
           closeOnClickModal: false,
           showCancelButton: false,