优化 table 局部代码排版

This commit is contained in:
贤心 2023-06-19 00:19:25 +08:00
parent 777e0a1999
commit 7eef6ea99c

View File

@ -1809,13 +1809,13 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
var _BODY = $('body'); var _BODY = $('body');
var dict = {}; var dict = {};
// 工具栏操作事件 // 头部工具栏操作事件
that.layTool.on('click', '*[lay-event]', function(e){ that.layTool.on('click', '*[lay-event]', function(e){
var othis = $(this) var othis = $(this);
,events = othis.attr('lay-event') var events = othis.attr('lay-event');
,openPanel = function(sets){ var openPanel = function(sets){
var list = $(sets.list) var list = $(sets.list);
,panel = $('<ul class="' + ELEM_TOOL_PANEL + '"></ul>'); var panel = $('<ul class="' + ELEM_TOOL_PANEL + '"></ul>');
panel.html(list); panel.html(list);