From 1a0c0fc8b02415e919e17c0b6ffbf99d08dec8f5 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 07 四月 2023 17:40:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
index ba18273..c2690a2 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent.html
@@ -31,9 +31,9 @@
                                 <#button name="重置" icon="fa-trash" clickFun="TAgent.resetSearch()" space="true"/>
                             </div>
                             <div class="col-sm-3">
-                                <button type="button" class="btn btn-primary " onclick="TAgent.export()" id="export">
-                                    <i class="fa "></i>&nbsp;导出
-                                </button>
+                                @if(shiro.hasPermission("/tAgent/export")){
+                                <#button name="导出" icon="" clickFun="TAgent.export()"/>
+                                @}
                                 @if(shiro.hasPermission("/tAgent/add")){
                                 <#button name="添加" icon="fa-plus" clickFun="TAgent.openAddTAgent()"/>
                                 @}

--
Gitblit v1.7.1