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