王士厅

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

... ... @@ -88,7 +88,6 @@ export struct DetailVideoListPage {
}
await this.getContentDetail(this.contentId, this.relId, this.relType)
}
await this.queryVideoList()
// console.log(TAG, 'aboutToAppear', JSON.stringify(action.params))
} else {
... ... @@ -100,7 +99,7 @@ export struct DetailVideoListPage {
aboutToAppear() {
// 在视频详情页
this.peopleShipHomeCreatorId = AppStorage.get<string>('peopleShipHomeCreatorId') || '';
// console.info(`cj2024 peopleShipHomeCreatorId = ${this.peopleShipHomeCreatorId}`)
// console.info(TAG, `cj2024 peopleShipHomeCreatorId = ${this.peopleShipHomeCreatorId}`)
if (this.peopleShipHomeCreatorId) {
// 从人民号号主传过来的
this.getPeopleShipHomeDetail(this.peopleShipHomeCreatorId);
... ... @@ -246,6 +245,8 @@ export struct DetailVideoListPage {
// console.log('获取互动点赞等数据===', JSON.stringify(res))
})
this.data.push(resDTO.data[0])
// console.log(TAG, 'getContentDetail 视频列表===', JSON.stringify(this.data))
await this.queryVideoList()
}
})
}
... ... @@ -332,7 +333,7 @@ export struct DetailVideoListPage {
// console.log(TAG, 'cj2024 queryVideoList:', JSON.stringify(res.data))
await this.getContentInteract(res.data)
this.data = this.data.concat(res.data)
// console.log('视频列表===', JSON.stringify(res.data))
// console.log(TAG, 'queryVideoList 视频列表===', JSON.stringify(this.data))
}
})
}
... ...