diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index 1eb8e0acc1d5ae66d210d09bebe4411835f51463..be96a03cce83a8fd5c4858f2d155dcf399cdccb2 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -725,7 +725,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table if (top + 154 > $(window).height()) { top = top - 154; } - if ($(window).width() < 480) { + if (left < 0 || $(window).width() < 480) { top = left = undefined; } Layer.confirm(