From 67d49073270b68d8ef6f5af0569b17085dff940b Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期五, 18 十月 2024 10:44:47 +0800
Subject: [PATCH] bug
---
src/views/exam/exam/ExamManage.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/exam/exam/ExamManage.vue b/src/views/exam/exam/ExamManage.vue
index 97a4c6c..5853fb9 100644
--- a/src/views/exam/exam/ExamManage.vue
+++ b/src/views/exam/exam/ExamManage.vue
@@ -119,7 +119,7 @@
class="flex"
style="justify-content:center;margin-top:20px;"
>
- <pagination v-show="total>0" :total="total" :page.sync="searchForm.pageIndex" :limit.sync="searchForm.pageSize"
+ <pagination v-show="total>0" :total="total" :page.sync="searchForm.currentPage" :limit.sync="searchForm.pageSize"
@pagination="page"/>
</div>
<el-dialog width="500px" :title="title" @close="closeHandler" :visible.sync="open" :destroy-on-close="true"
@@ -173,6 +173,7 @@
<script>
import Pagination from '@/components/Pagination'
import { getExams, addExam, editExam, deleteExamById, cancel, recover } from '@/api/exam'
+import { myClasses } from '@/api/classes'
import examPaperAPI from '@/api/examPaper'
export default {
@@ -220,7 +221,7 @@
searchForm: {
examName: '',
subject: null,
- pageIndex: 1,
+ currentPage: 1,
pageSize: 10
},
tableData: []
--
Gitblit v1.8.0