db il y a 2 ans
Parent
commit
f34bad9b4a
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      src/views/cygxPc/report.vue

+ 1 - 3
src/views/cygxPc/report.vue

@@ -57,8 +57,7 @@ const { reportInfo, reportResearch } = toRefs(state);
 
 <template>
   <div class="container-cygx-pc" v-if="haveData" :class="reportInfo.IsResearch ? 'no-cv' : ''">
-   <template v-if="Object.keys(reportInfo).length==0">
-     <div class="z-index-content">
+     <div class="z-index-content" v-if="reportInfo.ArticleId">
       <div class="content-top">
         <div class="report-title">{{ reportInfo.Title }}</div>
         <div class="report-text">
@@ -97,7 +96,6 @@ const { reportInfo, reportResearch } = toRefs(state);
     <div class="btn-returntop">
       <img src="~@/assets/cygx/returntop.png" @click="scrolltop" style="width: 40px" />
     </div>
-   </template>
     <dlg :showTips="showTips" :reportInfo="reportInfo" @hideDlg="showTips = false" />
   </div>
   <div v-else class="nodata-cygx-pc">