diff --git a/package/component/src/component/page/index.vue b/package/component/src/component/page/index.vue index e430342a..45b41bec 100644 --- a/package/component/src/component/page/index.vue +++ b/package/component/src/component/page/index.vue @@ -63,7 +63,10 @@ const totalPage = computed(() => { maxPage.value <= props.pages ? 1 : currentPage.value > pages - ? maxPage.value - currentPage.value + 1 < pages ? currentPage.value - (pages + (pages - (maxPage.value - currentPage.value + 1))) : currentPage.value - pages + ? maxPage.value - currentPage.value + 1 < pages + ? currentPage.value - + (pages + (pages - (maxPage.value - currentPage.value + 1))) + : currentPage.value - pages : 1; for (let i = start; ; i++) { diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index 915e81b9..0ea66c69 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -32,11 +32,11 @@