From a11bc1bed7953b88213330582c2085f60b5a73b1 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 六月 2024 15:01:56 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

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