From 0bab85897653f65df1932edb829f2af2bf58b846 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 19 七月 2023 10:37:14 +0800
Subject: [PATCH] 修改

---
 src/views/Admin/list.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/Admin/list.vue b/src/views/Admin/list.vue
index 008c24f..bbad73a 100644
--- a/src/views/Admin/list.vue
+++ b/src/views/Admin/list.vue
@@ -30,7 +30,7 @@
             />
           </a-col>
           <a-col :span="4">
-            <a-button type="primary" @click="getData">查询</a-button>
+            <a-button type="primary" @click="searchData">查询</a-button>
             <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button>
           </a-col>
         </a-row>
@@ -272,6 +272,11 @@
         })
       },
 
+      searchData(){
+        this.search.pageIndex = 1
+        this.getData()
+      },
+
       resetSearch(){
         const t = this
         t.search = {

--
Gitblit v1.9.2