From 1d346f4abf68c7f7db5e4810a5db3bb5df93bcf2 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 21 五月 2024 17:16:46 +0800
Subject: [PATCH] update .gitignore

---
 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