From 18ea5561db1c7d8495325366675d4c3c1994dc7e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 23 一月 2024 18:03:45 +0800
Subject: [PATCH] 产品检验报告下载

---
 src/page/index/top/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 81d23d2..fadf7a5 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -25,7 +25,7 @@
         </div>
       </el-tooltip> -->
       <el-tooltip
-        v-if="showLock"
+        v-if="showLock && permissions.product_work_bench"
         effect="dark"
         content="宸ヤ綔鍙�"
         placement="bottom">
@@ -139,6 +139,7 @@
         showColor: state => state.common.showColor
       }),
       ...mapGetters([
+        'permissions',
         'userInfo',
         'isFullScreen',
         'tagWel',

--
Gitblit v1.9.3