mirror of https://github.com/layui/layui
修改 table 的行右键菜单事件命名
parent
e9ddee165f
commit
c7de1e0c73
|
@ -2159,7 +2159,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
setRowEvent.call(this, 'rowDouble');
|
setRowEvent.call(this, 'rowDouble');
|
||||||
}).on('contextmenu', 'tr', function(e){ //菜单
|
}).on('contextmenu', 'tr', function(e){ //菜单
|
||||||
if (!options.defaultContextmenu) e.preventDefault();
|
if (!options.defaultContextmenu) e.preventDefault();
|
||||||
setRowEvent.call(this, 'contextmenu');
|
setRowEvent.call(this, 'rowContextmenu');
|
||||||
});;
|
});;
|
||||||
|
|
||||||
// 创建行单击、双击、菜单事件
|
// 创建行单击、双击、菜单事件
|
||||||
|
|
Loading…
Reference in New Issue