wangliang_wd

feat:解决竖屏视频显示问题

@@ -209,6 +209,10 @@ export struct DetailPlayShortVideoPage { @@ -209,6 +209,10 @@ export struct DetailPlayShortVideoPage {
209 this.publishCommentModel.targetId = String(this.contentDetailData?.newsId || '') 209 this.publishCommentModel.targetId = String(this.contentDetailData?.newsId || '')
210 this.publishCommentModel.targetTitle = String(this.contentDetailData?.newsTitle || '') 210 this.publishCommentModel.targetTitle = String(this.contentDetailData?.newsTitle || '')
211 this.publishCommentModel.targetType = String(this.contentDetailData?.newsType || '') 211 this.publishCommentModel.targetType = String(this.contentDetailData?.newsType || '')
  212 +
  213 + ///解决初始化竖屏视频时 this.ratio未更新导致显示错误
  214 + this.calculatePlayerRect()
  215 +
212 } 216 }
213 217
214 contentTrackingDict() { 218 contentTrackingDict() {