Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -80,7 +80,7 @@ export class LiveDetailPageLogic { | @@ -80,7 +80,7 @@ export class LiveDetailPageLogic { | ||
| 80 | 80 | ||
| 81 | // 只有直播中的才会有垫片 | 81 | // 只有直播中的才会有垫片 |
| 82 | if(this.liveState === 'running'){ | 82 | if(this.liveState === 'running'){ |
| 83 | - if (this.contentDetailData.liveInfo.vlive.count > 0) { | 83 | + if (this.contentDetailData.liveInfo.vlive && this.contentDetailData.liveInfo.vlive.length > 0) { |
| 84 | this.showPad = this.contentDetailData.liveInfo.vlive[index].showPad | 84 | this.showPad = this.contentDetailData.liveInfo.vlive[index].showPad |
| 85 | } | 85 | } |
| 86 | } | 86 | } |
-
Please register or login to post a comment