mirror of https://github.com/layui/layui
修复 dropdown 在某些情况下点击空白处报错的问题
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