mirror of
https://gitee.com/layui/layui.git
synced 2025-07-15 23:13:41 +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);
|
toolFn.call(this);
|
||||||
return false;
|
layui.stope(e);
|
||||||
}).on('dblclick', '*[lay-event]', function(){ //行工具条双击事件
|
}).on('dblclick', '*[lay-event]', function(e){ //行工具条双击事件
|
||||||
toolFn.call(this, 'toolDouble');
|
toolFn.call(this, 'toolDouble');
|
||||||
return false;
|
layui.stope(e);
|
||||||
});
|
});
|
||||||
|
|
||||||
//同步滚动条
|
//同步滚动条
|
||||||
|
Loading…
Reference in New Issue
Block a user