mirror of
https://gitee.com/layui/layui.git
synced 2025-04-05 17:38:02 +08:00
[修复] 当表头设置 event 属性时,导致单元格内 a 标签跳转失效的问题
This commit is contained in:
parent
de2faf7011
commit
4ca31ebf7e
@ -2057,12 +2057,12 @@ layui.define(['laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||
};
|
||||
|
||||
// 行工具条单击事件
|
||||
that.layBody.on('click', '*[lay-event]', function(){
|
||||
that.layBody.on('click', '*[lay-event]', function(e){
|
||||
toolFn.call(this);
|
||||
return false;
|
||||
}).on('dblclick', '*[lay-event]', function(){ //行工具条双击事件
|
||||
layui.stope(e);
|
||||
}).on('dblclick', '*[lay-event]', function(e){ //行工具条双击事件
|
||||
toolFn.call(this, 'toolDouble');
|
||||
return false;
|
||||
layui.stope(e);
|
||||
});
|
||||
|
||||
//同步滚动条
|
||||
|
Loading…
Reference in New Issue
Block a user