浏览代码

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

chenlei 3 月之前
父节点
当前提交
be42d7b2ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">