From d6ff85b7e7e5304f9874960a88a28da93ea1122a Mon Sep 17 00:00:00 2001 From: wanggeng888 <450292408@qq.com> Date: Wed, 5 May 2021 12:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/role/permission/update.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/service-role/src/main/resources/templates/role/permission/update.html b/service-role/src/main/resources/templates/role/permission/update.html index c4a1c312..662d86bb 100644 --- a/service-role/src/main/resources/templates/role/permission/update.html +++ b/service-role/src/main/resources/templates/role/permission/update.html @@ -49,9 +49,9 @@ {{# for(var x = 0, xItem; xItem = jItem.permissions[x++];) { }} - - - +
+ +
{{# } }} @@ -89,6 +89,7 @@ var table = layui.table; var form = layui.form; var laytpl = layui.laytpl; + var layer = layui.layer; var admin = layui.admin; var laydate = layui.laydate; var common = layui.common; @@ -229,6 +230,14 @@ $('.close').on('click', function() { closeBox(); }); + + $(document).on('mouseenter', '.api-check', function(event) { + layTipsIndex = layer.tips(this.title, this, { + tips: 1, + area: ['auto', 'auto'] + }); + event.stopPropagation(); + }) });