From 574256babc7e7a4aa95ebe0803587eac3915c18c Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 26 一月 2021 16:44:49 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/tag/tag.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/tag/tag.js b/src/main/webapp/static/js/tag/tag.js
index 95e4cfe..57ef08c 100644
--- a/src/main/webapp/static/js/tag/tag.js
+++ b/src/main/webapp/static/js/tag/tag.js
@@ -17,13 +17,16 @@
         url: baseUrl+'/tag/list/auth',
         headers: {token: localStorage.getItem('token')},
         height: 'full-200',
+        toolbar: ['<p>',
+            '<button lay-event="add" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe654;</i>娣诲姞</button>&nbsp;',
+            '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>鍒犻櫎</button>',
+            '</p>'].join(''),
         tree: {
             iconIndex: 1,           // 鎶樺彔鍥炬爣鏄剧ず鍦ㄧ鍑犲垪
             isPidData: true,        // 鏄惁鏄痠d銆乸id褰㈠紡鏁版嵁
             idName: 'id',  // id瀛楁鍚嶇О
             pidName: 'parentId'     // pid瀛楁鍚嶇О
         },
-        toolbar: 'default',
         cols: [[
             {type: 'checkbox'}
             ,{field: 'name', align: 'left',title: '鍚嶇О'}

--
Gitblit v1.9.1