王士厅

fix: cms已下线视频稿件,用户访问显示获取内容失败,后台上线该视频稿件后,客户端点击重试按钮,视频起播,播放的非目标页面的稿件

@@ -88,7 +88,6 @@ export struct DetailVideoListPage { @@ -88,7 +88,6 @@ export struct DetailVideoListPage {
88 } 88 }
89 await this.getContentDetail(this.contentId, this.relId, this.relType) 89 await this.getContentDetail(this.contentId, this.relId, this.relType)
90 } 90 }
91 - await this.queryVideoList()  
92 // console.log(TAG, 'aboutToAppear', JSON.stringify(action.params)) 91 // console.log(TAG, 'aboutToAppear', JSON.stringify(action.params))
93 92
94 } else { 93 } else {
@@ -100,7 +99,7 @@ export struct DetailVideoListPage { @@ -100,7 +99,7 @@ export struct DetailVideoListPage {
100 aboutToAppear() { 99 aboutToAppear() {
101 // 在视频详情页 100 // 在视频详情页
102 this.peopleShipHomeCreatorId = AppStorage.get<string>('peopleShipHomeCreatorId') || ''; 101 this.peopleShipHomeCreatorId = AppStorage.get<string>('peopleShipHomeCreatorId') || '';
103 - // console.info(`cj2024 peopleShipHomeCreatorId = ${this.peopleShipHomeCreatorId}`) 102 + // console.info(TAG, `cj2024 peopleShipHomeCreatorId = ${this.peopleShipHomeCreatorId}`)
104 if (this.peopleShipHomeCreatorId) { 103 if (this.peopleShipHomeCreatorId) {
105 // 从人民号号主传过来的 104 // 从人民号号主传过来的
106 this.getPeopleShipHomeDetail(this.peopleShipHomeCreatorId); 105 this.getPeopleShipHomeDetail(this.peopleShipHomeCreatorId);
@@ -246,6 +245,8 @@ export struct DetailVideoListPage { @@ -246,6 +245,8 @@ export struct DetailVideoListPage {
246 // console.log('获取互动点赞等数据===', JSON.stringify(res)) 245 // console.log('获取互动点赞等数据===', JSON.stringify(res))
247 }) 246 })
248 this.data.push(resDTO.data[0]) 247 this.data.push(resDTO.data[0])
  248 + // console.log(TAG, 'getContentDetail 视频列表===', JSON.stringify(this.data))
  249 + await this.queryVideoList()
249 } 250 }
250 }) 251 })
251 } 252 }
@@ -332,7 +333,7 @@ export struct DetailVideoListPage { @@ -332,7 +333,7 @@ export struct DetailVideoListPage {
332 // console.log(TAG, 'cj2024 queryVideoList:', JSON.stringify(res.data)) 333 // console.log(TAG, 'cj2024 queryVideoList:', JSON.stringify(res.data))
333 await this.getContentInteract(res.data) 334 await this.getContentInteract(res.data)
334 this.data = this.data.concat(res.data) 335 this.data = this.data.concat(res.data)
335 - // console.log('视频列表===', JSON.stringify(res.data)) 336 + // console.log(TAG, 'queryVideoList 视频列表===', JSON.stringify(this.data))
336 } 337 }
337 }) 338 })
338 } 339 }