新增分页跳转到指定页码

This commit is contained in:
RuoYi
2019-03-07 12:57:15 +08:00
parent f1ba270a47
commit 2d32b0d9c2
7 changed files with 27 additions and 6 deletions

View File

@ -131,7 +131,7 @@ $(function() {
var visibleWidth = $(".content-tabs").outerWidth(true) - tabOuterWidth;
//实际滚动宽度
var scrollVal = 0;
if ($(".page-tabs-content").width() < visibleWidth) {
if (($(".page-tabs-content").width() + 50) < visibleWidth) {
return false;
} else {
var tabElement = $(".menuTab:first");