Browse Source

禁用用户无权限收藏,隐藏收藏按钮

chenlei 3 months ago
parent
commit
be42d7b2ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/report/Detail.vue

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

@@ -341,7 +341,7 @@ function handleTips () {
         @click="handleCollect"
         class="item collect-icon"
         :name="reportCollected ? 'collected' : 'collect'"
-        v-if="reportStatus === 4"
+        v-if="reportStatus === 4 && userInfo.Status === 2"
       />
       <!-- 返回顶部 -->
       <div class="item back-top-img">