lib/layer/layer.js
@@ -466,12 +466,13 @@ that.offsetLeft = layero.css('left'); } //木遥增加 wanghao if (layero.attr('myTopLeft')) { that.offsetTop = layero.css('top'); that.offsetLeft = layero.css('left'); } //木遥增加 wanghao layero.css({ top: that.offsetTop, left: that.offsetLeft }); };