Ver Fonte

修复bug

chenxiong há 3 anos atrás
pai
commit
e10a13fce2
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      pages2/wd/course.vue

+ 8 - 0
pages2/wd/course.vue

@@ -62,6 +62,14 @@ export default {
 			}); 
 		},
 		studyIn(item) {
+			if(item.rebuild === 0) {  //未重修
+				this.$navTo.togo('/pages2/learn/details', {
+					id: item.courseId,
+					gradeId:item.gradeId,
+					goodsId: this.goodsId
+				});
+				return;
+			}
 			this.$navTo.togo('/pages2/class/detail', {
 				id: item.courseId,
 				goodsId: this.goodsId