Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wuyanan
2024-09-24 18:49:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ea7b34dceff0eb75cdd52c3d96dcd9998562ca70
ea7b34dc
1 parent
32cb0cd3
fix |> 修复直播详情直播间Tab点击图片查看后,返回后触发退出直播间详情问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLiveCommon.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLiveCommon.ets
View file @
ea7b34d
...
...
@@ -64,6 +64,8 @@ export struct DetailPlayLiveCommon {
private AudioSuspension = new AudioSuspensionModel()
@State isShowAudioCom: boolean = false
///是否已经执行过pageShow
hasPageShow: boolean = false
build() {
Column() {
...
...
@@ -89,6 +91,10 @@ export struct DetailPlayLiveCommon {
*/
getContentDetail(): Promise<void> {
return new Promise<void>((resolve, reject) => {
if (this.hasPageShow) {
return
}
this.hasPageShow = true
this.liveViewModel.getContentDetail(this.contentId, this.relId, this.relType)
.then(async (data: Array<ContentDetailDTO>) => {
// console.log(TAG, '查询视频详情用于评论展示 getContentDetail:', JSON.stringify(data));
...
...
Please
register
or
login
to post a comment