mirror of https://github.com/layui/layui
优化 table 行事件相关代码处注释
parent
4bf2fccafc
commit
26063fbaf4
|
@ -2226,7 +2226,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
}).on('contextmenu', 'tr', function(e){ // 菜单
|
}).on('contextmenu', 'tr', function(e){ // 菜单
|
||||||
if (!options.defaultContextmenu) e.preventDefault();
|
if (!options.defaultContextmenu) e.preventDefault();
|
||||||
setRowEvent.call(this, 'rowContextmenu');
|
setRowEvent.call(this, 'rowContextmenu');
|
||||||
});;
|
});
|
||||||
|
|
||||||
// 创建行单击、双击、菜单事件
|
// 创建行单击、双击、菜单事件
|
||||||
var setRowEvent = function(eventType){
|
var setRowEvent = function(eventType){
|
||||||
|
|
Loading…
Reference in New Issue