layer.confirm等事件X关闭与取消监听
关于layer.confirm的所有操作
layer.confirm('content',{ btn:['确定','取消'], cancel:function(index, layero){ console.log('关闭x号'); } },function () { console.log(11); $('.layui-layer-btn0').hide(); $('.layui-layer-content').text('扫描中'); },function(){ console.log(22); });