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