浏览代码

报错处理

jwyu 2 年之前
父节点
当前提交
9b193bd48c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/hzyb/report/ChapterDetail.vue
  2. 1 1
      src/views/hzyb/report/Detail.vue

+ 1 - 1
src/views/hzyb/report/ChapterDetail.vue

@@ -27,7 +27,7 @@
         </div>
         <div v-html="info.report_chapter_item.content_sub" v-else ></div>
         <!-- 隐藏的水印 -->
-        <div class="hide-watermark-box">
+        <div class="hide-watermark-box" v-if="userInfo">
           <div v-for="item in 20" :key="item">{{userInfo.mobile}}</div>
         </div>
       </div>

+ 1 - 1
src/views/hzyb/report/Detail.vue

@@ -73,7 +73,7 @@
                 </div>
                 <div v-html="info.report_info.content_sub" v-else></div>
                 <!-- 隐藏的水印 -->
-                <div class="hide-watermark-box">
+                <div class="hide-watermark-box" v-if="userInfo">
                     <div v-for="item in 20" :key="item">{{userInfo.mobile}}</div>
                 </div>
             </div>