shadeClose default

This commit is contained in:
thinkgem
2022-02-20 22:01:05 +08:00
parent 7c16b21232
commit 7414d655ae

View File

@@ -749,7 +749,7 @@ Class.pt.callback = function(){
layero.find('.'+ doms[7]).on('click', cancel);
//点遮罩关闭
if(config.shadeClose){
if(config.shadeClose || config.shadeClose == undefined){
that.shadeo.on('click', function(){
layer.close(that.index);
});