mirror of https://github.com/layui/layui
优化 laydate 开启 `rangeLinked` 属性后,点击目标元素可重新渲染的问题
parent
b31b364c16
commit
3b919e1b7a
|
@ -2191,7 +2191,8 @@
|
|||
if(
|
||||
e.target === options.elem[0] ||
|
||||
e.target === options.eventElem[0] ||
|
||||
e.target === lay(options.closeStop)[0]
|
||||
e.target === lay(options.closeStop)[0] ||
|
||||
(options.elem[0] && options.elem[0].contains(e.target))
|
||||
) return;
|
||||
|
||||
that.remove();
|
||||
|
|
Loading…
Reference in New Issue