From a99e82da2b087d7019cdce015c25befc620b9d61 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 10 十一月 2026 14:14:16 +0800
Subject: [PATCH] 测试完成

---
 src/components/Pagination/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 56f5a6b..39fc7c9 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -1,3 +1,5 @@
+
+<!-- 搴曢儴鍒嗛〉缁勪欢灏佽 -->
 <template>
   <div :class="{'hidden':hidden}" class="pagination-container">
     <el-pagination
@@ -16,6 +18,7 @@
 </template>
 
 <script>
+// 寰呭畾
 import { scrollTo } from '@/utils/scroll-to'
 
 export default {
@@ -76,7 +79,10 @@
     },
     pageSize: {
       get() {
-        return this.limit
+        // limit 鍙兘琚�滃鍑衡�濈瓑鎿嶄綔涓存椂缃负 null锛岀洿鎺ラ�忎紶浼氳 el-pagination 绠楀嚭
+        // pageCount = total / 0 = Infinity锛岄〉鐮侀噷灏卞嚭鐜� 鈥渋nfinity鈥濄�傝繖閲屽厹搴曟垚 10
+        const size = Number(this.limit)
+        return size > 0 ? size : 10
       },
       set(val) {
         this.$emit('update:limit', val)

--
Gitblit v1.9.3