wangguoyu 4 周之前
父節點
當前提交
f84aea4284
共有 1 個文件被更改,包括 13 次插入8 次删除
  1. 13 8
      pages/study/lookShipinNew.vue

+ 13 - 8
pages/study/lookShipinNew.vue

@@ -235,14 +235,7 @@
 					}
 					//	debugger
 					Number(this.jieId++)
-					console.log('this.pageData', this.pageData);
-					let currentObject = this.cacheZhangInfo.zhangList[this.cacheCurrentZhangIndex].jieList.find(item =>
-						item.jieId == this.jieId);
-					if (currentObject) {
-						this.pageData = {
-							...currentObject
-						}
-					}
+				
 					// lastFlag是否是本章最后一节,0否1是  type,1视频,2试题
 					if (this.pageData.lastFlag == 1 && this.pageData.type == 2) {
 						uni.redirectTo({
@@ -297,6 +290,18 @@
 							this.subjectId + '&tipFlag=' + this.tipFlag
 					})
 				} else {
+					debugger
+					console.log('this.pageData', this.pageData);
+					// let currentObject = this.cacheZhangInfo.zhangList[this.cacheCurrentZhangIndex].jieList.find(item =>
+					// 	item.jieId == this.jieId);
+					// if (currentObject) {
+					// 	this.pageData = {
+					// 		...currentObject
+					// 	}
+					// }
+					
+					
+					
 					let zhang = this.cacheZhangInfo.zhangList[this.cacheCurrentZhangIndex]
 					if (zhang.zhangId == this.pageData.nextZhangId) {
 						cacheManager.updateObject('zhangInfo', {