mirror of
https://gitee.com/layui/layui.git
synced 2025-08-23 22:11:38 +08:00
修复 dropdown 在某些情况下点击空白处报错的问题
This commit is contained in:
parent
4d94ade471
commit
9c18caf0b0
@ -453,7 +453,7 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){
|
||||
if(
|
||||
e.target === options.elem[0] ||
|
||||
options.elem.find(e.target)[0] ||
|
||||
e.target === that.elemView[0] ||
|
||||
(that.elemView && e.target === that.elemView[0]) ||
|
||||
(that.elemView && that.elemView.find(e.target)[0])
|
||||
) return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user