zIndex:layer.zIndex,
success:function(index,layero){
//layero 为当前层的DOM对象
var zIndex = layer.index;
$(layero).css('z-index',zIndex); //更改显示层级,防止多层弹窗显示层级bug
layer.close(index); //如果设定了yes回调,需进行手工关闭
}