浏览代码

报告详情无权限fix

jwyu 8 月之前
父节点
当前提交
8ca8107c62
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/views/report/Detail.vue

+ 7 - 0
src/views/report/Detail.vue

@@ -212,6 +212,13 @@ function handleGoLogin(){
     <div
       id="rich-content"
       class="report-content-box rich-content"
+      v-html="reportContent"
+      v-if="reportStatus !== 4"
+    />
+    <div
+      v-else
+      id="rich-content"
+      class="report-content-box rich-content"
     >
       <div v-for="item in renderContentList" :key="item" v-html="item"></div>
     </div>