From a84137b0b1660bf4033f6831c19dac09c02ccc30 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 23 Mar 2021 16:18:25 +0800 Subject: [PATCH] 自定义权限的树状图添加滚动条 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/tokens.html | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/tokens.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/tokens.html index 4186bc3..da920ac 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/tokens.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/tokens.html @@ -9,7 +9,7 @@ <div class="layui-card-body"> <div class="layui-form toolbar"> 所属应用:<select id="token_clients" lay-filter="token_clients"></select> -  搜索:<input id="tokens-edit-search" class="layui-input search-input" type="text" placeholder="输入用户名"/>  +  搜索:<input id="tokens-edit-search" class="layui-input search-input" type="text" placeholder="按用户名"/>  <button id="tokens-btn-search" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button> </div> @@ -53,8 +53,8 @@ {field: 'clientId',width:180, sort: true, title: '所属应用'}, {align: 'center',width:100, toolbar: '#tokens-table-bar', title: '操作'} ]], - done:function(){ - permissionsInput(); + done:function(res){ + permissionsInput(res,config); } }); @@ -75,7 +75,7 @@ }) form.render(); } else { - layer.msg(data.msg, {icon: 2, time: 500}); + layer.msg(data.msg, {icon: 2, time: 2000}); } }, 'GET'); @@ -93,7 +93,7 @@ layer.load(2); admin.req('api-uaa/oauth/remove/token?token=' + obj.data.tokenValue, {}, function (data) { layer.closeAll('loading'); - layer.msg('成功', {icon: 1, time: 500}); + layer.msg('成功', {icon: 1, time: 2000}); obj.del(); }, 'DELETE'); }); -- Gitblit v1.8.0