From 5447c3a4be407b4cea8e92839a1371b94d9d1657 Mon Sep 17 00:00:00 2001
From: sd <shidong@jhsoft.cc>
Date: 星期二, 05 八月 2025 17:03:10 +0800
Subject: [PATCH] 模型训练-筛选搜索功能实现

---
 src/components/rightPagination.vue |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/components/rightPagination.vue b/src/components/rightPagination.vue
index b021b73..1e2fa6c 100644
--- a/src/components/rightPagination.vue
+++ b/src/components/rightPagination.vue
@@ -7,7 +7,6 @@
     :total="total"
     :current-page="innerCurrentPage"
     :page-size="innerPageSize"
-    :page-sizes="pageSizes"
     @size-change="handleSizeChange"
     @current-change="handleCurrentChange"
   />
@@ -33,15 +32,10 @@
       type: Number,
       default: 10
     },
-    // 姣忛〉鏄剧ず鏁伴噺閫夐」
-    pageSizes: {
-      type: Array,
-      default: () => [10, 20, 50, 100]
-    },
     // 鍒嗛〉甯冨眬閰嶇疆
     layout: {
       type: String,
-      default: 'total, sizes, prev, pager, next, jumper'
+      default: 'total, prev, pager, next, jumper'
     }
   },
   data() {
@@ -81,11 +75,11 @@
     emitPaginationChange() {
       this.$emit('pagination-change', {
         page: this.innerCurrentPage,
-        limit: this.innerPageSize
+        pageSize: this.innerPageSize
       });
       // 鍙�夛細鍗曠嫭瑙﹀彂鏇存柊浜嬩欢
-      this.$emit('update:current-page', this.innerCurrentPage);
-      this.$emit('update:page-size', this.innerPageSize);
+      // this.$emit('update:current-page', this.innerCurrentPage);
+      // this.$emit('update:page-size', this.innerPageSize);
     }
   }
 };

--
Gitblit v1.8.0