From 6eed3b2434c7c1552b1b1433a5c85849a3b0d592 Mon Sep 17 00:00:00 2001 From: lcj <2331845269@qq.com> Date: Mon, 17 Mar 2025 16:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plus-ui/src/components/Pagination/index.vue | 8 +++++++- .../views/machinery/component/MachineryDetailTable.vue | 9 ++++++++- .../materials/component/MaterialsInventoryAddDialog.vue | 6 +++--- .../materials/component/MaterialsInventoryTable.vue | 3 ++- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/plus-ui/src/components/Pagination/index.vue b/plus-ui/src/components/Pagination/index.vue index ac02193a..9f96001d 100644 --- a/plus-ui/src/components/Pagination/index.vue +++ b/plus-ui/src/components/Pagination/index.vue @@ -3,6 +3,7 @@ props.total) { currentPage.value = 1; @@ -67,6 +70,7 @@ function handleSizeChange(val: number) { scrollTo(0, 800); } } + function handleCurrentChange(val: number) { emit('pagination', { page: val, limit: pageSize.value }); if (props.autoScroll) { @@ -78,10 +82,12 @@ function handleCurrentChange(val: number) {