bd 3 năm trước cách đây
mục cha
commit
e18a248130
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/cygx/raiReportDtl.vue

+ 1 - 1
src/views/cygx/raiReportDtl.vue

@@ -46,7 +46,7 @@
       <div class="detail-report" :class="reportInfo.IsResearch ? '' : 'detail-bottom'">
       <div class="detail-report" :class="reportInfo.IsResearch ? '' : 'detail-bottom'">
         <div id="report-content" v-html="reportInfo.Body"></div>
         <div id="report-content" v-html="reportInfo.Body"></div>
       </div>
       </div>
-      <div class="host-collect" v-if="reportInfo.IsResearch">
+      <div class="host-collect" v-if="reportInfo.IsResearch && reportResearch.length">
         <h4>相关热门收藏:</h4>
         <h4>相关热门收藏:</h4>
         <div class="host-content" v-for="item in reportResearch" :key="item.ArticleId">
         <div class="host-content" v-for="item in reportResearch" :key="item.ArticleId">
           <p class="host-title" @click="goDetail(item)">{{ item.Title }}</p>
           <p class="host-title" @click="goDetail(item)">{{ item.Title }}</p>