From 12e8eb9e345adea19972c34df471b28b51fa71dd Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 21 五月 2024 15:34:11 +0800
Subject: [PATCH] 代码初始化

---
 admin/src/views/business/deviceRole_f.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/src/views/business/deviceRole_f.vue b/admin/src/views/business/deviceRole_f.vue
index 3bfc907..7b4273f 100644
--- a/admin/src/views/business/deviceRole_f.vue
+++ b/admin/src/views/business/deviceRole_f.vue
@@ -13,7 +13,7 @@
         <!-- 琛ㄦ牸鍜屽垎椤� -->
         <template v-slot:table-wrap>
             <ul class="toolbar">
-                <li><el-button type="primary" @click="synchronousData">鍚屾</el-button></li>
+                <li><el-button type="primary"  v-permissions="['business:hksync:privilege']" @click="synchronousData">鍚屾</el-button></li>
             </ul>
             <el-table
                 v-loading="isWorking.search"
@@ -96,7 +96,7 @@
       }).then(() => {
         syncPrivilege({})
           .then(res => {
-            this.$message({ type: 'success', message: '鍚屾鎴愬姛' })
+            this.$message({ type: 'success', message:res || '鍚屾鎴愬姛' })
             this.search()
           })
       }).catch(() => {

--
Gitblit v1.9.3