From 20c7d1e510b07d48f2855bd07ef3ba5a5a5fbbd2 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期三, 30 十月 2024 20:15:09 +0800 Subject: [PATCH] bug --- src/views/education/cheat/list.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/education/cheat/list.vue b/src/views/education/cheat/list.vue index 147ae49..3cced0e 100644 --- a/src/views/education/cheat/list.vue +++ b/src/views/education/cheat/list.vue @@ -2,10 +2,10 @@ <div class="app-container"> <el-form :model="queryParam" ref="queryForm" :inline="true"> <el-form-item> - <el-input v-model="queryParam.keyword" placeholder="璇疯緭鍏ュ悕绉�" clearable></el-input> + <el-input v-model="queryParam.keyword" placeholder="璇疯緭鍏ュ悕绉�" clearable @input="search"></el-input> </el-form-item> <el-form-item> - <el-button type="primary" @click="search">鏌ヨ</el-button> + <el-button type="primary" @click="search" size="small">鏌ヨ</el-button> </el-form-item> </el-form> @@ -19,7 +19,7 @@ </template> </el-table-column> --> </el-table> - <pagination v-show="total > 0" :total="total" :page.sync="queryParam.pageIndex" :limit.sync="queryParam.pageSize" + <pagination v-show="total > 0" :total="total" :page.sync="queryParam.currentPage" :limit.sync="queryParam.pageSize" @pagination="search" /> <el-dialog :visible.sync="visible" width="400px"> @@ -53,7 +53,7 @@ listLoading: true, queryParam: { name: '', - pageIndex: 1, + currentPage: 1, pageSize: 10 }, formLoading: false, -- Gitblit v1.8.0