yumaochao

fix:somebug

@@ -52,6 +52,16 @@ export struct CompParser { @@ -52,6 +52,16 @@ export struct CompParser {
52 }) 52 })
53 this.compDTO.operDataList = this.noneAudioItems; 53 this.compDTO.operDataList = this.noneAudioItems;
54 } 54 }
  55 + // 金刚卡屏蔽音频类型稿件
  56 + if (this.compDTO.compStyle === CompStyle.Zh_Grid_Layout_03) {
  57 + this.audioItems = this.compDTO.operDataList.filter(item => {
  58 + return item.objectType === '13' || item.linkUrl.includes('audiotopic')
  59 + })
  60 + this.noneAudioItems = this.compDTO.operDataList.filter(item => {
  61 + return item.objectType !== '13' && !item.linkUrl.includes('audiotopic')
  62 + })
  63 + this.compDTO.operDataList = this.noneAudioItems;
  64 + }
55 } 65 }
56 66
57 build() { 67 build() {