谢杰标 2 lat temu
rodzic
commit
0bc76971e4

+ 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,