From 911e9f73c3448aba85eb686710aa17b1118eaee1 Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Thu, 29 Dec 2022 17:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/nl/common/domain/query/PageQuery.java | 2 +- lms/nladmin-ui/src/views/system/param/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/nladmin-system/src/main/java/org/nl/common/domain/query/PageQuery.java b/lms/nladmin-system/src/main/java/org/nl/common/domain/query/PageQuery.java index e268c0be7..4726fc2b3 100644 --- a/lms/nladmin-system/src/main/java/org/nl/common/domain/query/PageQuery.java +++ b/lms/nladmin-system/src/main/java/org/nl/common/domain/query/PageQuery.java @@ -51,7 +51,7 @@ public class PageQuery implements Serializable { public static final int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE; public Page build() { - Integer pageNum = ObjectUtil.defaultIfNull(getPage(), DEFAULT_PAGE_NUM); + Integer pageNum = ObjectUtil.defaultIfNull(getPage(), DEFAULT_PAGE_NUM) + 1; Integer pageSize = ObjectUtil.defaultIfNull(getSize(), DEFAULT_PAGE_SIZE); if (pageNum <= 0) { pageNum = DEFAULT_PAGE_NUM; diff --git a/lms/nladmin-ui/src/views/system/param/index.vue b/lms/nladmin-ui/src/views/system/param/index.vue index 0225f3b14..a7393c34f 100644 --- a/lms/nladmin-ui/src/views/system/param/index.vue +++ b/lms/nladmin-ui/src/views/system/param/index.vue @@ -42,10 +42,10 @@ > - + - - + +