pull/279748/MERGE
Karson 2017-04-28 10:08:13 +08:00
parent fe4465bbba
commit f0bf9556ee
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FastAdmin是一款基于ThinkPHP5+Bootstrap的极速后台管理系统 FastAdmin是一款基于ThinkPHP5+Bootstrap的极速后台开发框架
=============== ===============

View File

@ -230,10 +230,10 @@ define(['jquery', 'bootstrap', 'backend', 'config', 'toastr', 'moment', 'bootstr
var that = this; var that = this;
var top = $(that).offset().top - $(window).scrollTop(); var top = $(that).offset().top - $(window).scrollTop();
var left = $(that).offset().left - $(window).scrollLeft() - 260; var left = $(that).offset().left - $(window).scrollLeft() - 260;
if(top + 154 > $(window).height()){ if (top + 154 > $(window).height()) {
top = top - 154; top = top - 154;
} }
if($(window).width()<480){ if ($(window).width() < 480) {
top = left = undefined; top = left = undefined;
} }
var index = Backend.api.layer.confirm( var index = Backend.api.layer.confirm(