From f7b2d928f99435c798d12e688d470c69f2f5c234 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 12 十一月 2024 21:20:52 +0800
Subject: [PATCH] 优化错题查询

---
 src/views/wrong-list/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/wrong-list/index.vue b/src/views/wrong-list/index.vue
index 9339d48..d86aaf8 100644
--- a/src/views/wrong-list/index.vue
+++ b/src/views/wrong-list/index.vue
@@ -20,7 +20,7 @@
                     <el-option label="璁$畻棰�" value="7"></el-option>
                     <el-option label="鍒嗘瀽棰�" value="8"></el-option>
                   </el-select>
-                  <el-input v-model="pageParam.examName" placeholder="璇疯緭鍏ヨ瘯鍗峰悕绉�" maxlength="20" clearable @input="searchData"/>
+                  <el-input v-model="pageParam.examName" placeholder="璇疯緭鍏ヨ�冭瘯鍚嶇О" maxlength="20" clearable @input="searchData"/>
                   <el-button type="primary" class="ml-4" @click="searchData">鎼滅储</el-button>
                 </div>
               </div>
@@ -33,7 +33,7 @@
               <div class="card-footer flex justify-center mb-7 shrink-0">
                 <el-pagination background layout="prev, pager, next"
                                :total="pageParam.total"
-                               :page-size="10"
+                               :page-size="pageParam.pageSize"
                                :current-page="pageParam.pageIndex"
                                @current-change="handleCurrentChange"/>
               </div>
@@ -54,7 +54,6 @@
 
 const dataList = ref([]);
 const loading = ref(false);
-const currentData = ref([]);
 
 // 鍒嗛〉鍙傛暟
 const pageParam = {

--
Gitblit v1.8.0