谢杰标 hace 2 años
padre
commit
0bc76971e4
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  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,