From 85249c5d6096be58f52921f5d185987628e4d71f Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期三, 18 九月 2024 14:51:14 +0800
Subject: [PATCH] 为拖拽功能锁定按钮增加仅拥有权限才能使用

---
 src/views/authority/resource/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/authority/resource/index.vue b/src/views/authority/resource/index.vue
index 673324d..4687b88 100644
--- a/src/views/authority/resource/index.vue
+++ b/src/views/authority/resource/index.vue
@@ -12,7 +12,8 @@
           <template #title>
             <span>{{ $t('menu.resource.title') }}</span>
             <a-tooltip content="鐐瑰嚮鍚庡彲閫氳繃鎷栨嫿鏇存敼璧勬簮缁撴瀯,鍐嶆鐐瑰嚮鏉ュ叧闂�" background-color="#165DFF">
-              <a-button type="outline" style="float: right;" @click="toggleDraggable" :style="{color: buttonColor}">
+              <a-button type="outline" style="float: right;" @click="toggleDraggable" :style="{color: buttonColor}"
+              v-has-permi="'/base/syresource!update'">
                 <component :is="lockIcon" />
               </a-button>
             </a-tooltip>

--
Gitblit v1.8.0