diff --git a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js index f200abe3..4a6a3632 100644 --- a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js +++ b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js @@ -238,7 +238,9 @@ footer: function (options) { var op = $.extend({ header: "header", content: "body > section:first", ele: 'footer' }, options); var $ele = $(op.ele); - return $(op.header).outerHeight() + $(op.content).outerHeight() + $ele.outerHeight() > $(window).height() ? $ele.removeClass('position-fixed') : $ele.addClass('position-fixed'); + + // 增加 1px 修复 IE11 下由于小数点导致页脚消失bug + return $(op.header).outerHeight() + $(op.content).outerHeight() + $ele.outerHeight() > $(window).height() + 1 ? $ele.removeClass('position-fixed') : $ele.addClass('position-fixed'); }, formatUrl: function (url) { if (!url) return url;