From 3b1535dba76304c143502cf2b142f3479d6b6c82 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 18 十二月 2024 10:22:16 +0800
Subject: [PATCH] 定时任务分页bug

---
 src/views/energy/job/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/energy/job/index.vue b/src/views/energy/job/index.vue
index 81f9081..b40f52a 100644
--- a/src/views/energy/job/index.vue
+++ b/src/views/energy/job/index.vue
@@ -97,8 +97,8 @@
     <!-- 分页 -->
     <Pagination
       :total="total"
-      v-model:page="queryParams.pageNo"
-      v-model:limit="queryParams.pageSize"
+      v-model:page="queryParams.page"
+      v-model:limit="queryParams.limit"
       @pagination="getList"
     />
   </ContentWrap>
@@ -120,8 +120,8 @@
   const total = ref(0) // 列表的总页数
   const list = ref([]) // 列表的数据
   const queryParams = reactive({
-    pageNo: 1,
-    pageSize: 10,
+    page: 1,
+    limit: 10,
     name: undefined,
     address: undefined
   })
@@ -142,7 +142,7 @@
 
   /** 搜索按钮操作 */
   const handleQuery = () => {
-    queryParams.pageNo = 1
+    queryParams.page = 1
     getList()
   }
 

--
Gitblit v1.9.3