Browse Source

报告详情无权限fix

jwyu 8 months ago
parent
commit
8ca8107c62
1 changed files with 7 additions and 0 deletions
  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>