Browse Source

Merge remote-tracking branch 'origin/2025鹅状元dev' into 2025鹅状元dev

wangxy 3 tuần trước cách đây
mục cha
commit
441e35cb32
1 tập tin đã thay đổi với 13 bổ sung8 xóa
  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 {
+					
+					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', {