Browse Source

Update shopList.vue

王新雷 4 năm trước cách đây
mục cha
commit
eb4d98cce4
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/views/businessManager/shopManager/shopList.vue

+ 5 - 1
src/views/businessManager/shopManager/shopList.vue

@@ -39,7 +39,7 @@
             end-placeholder="结束日期"></el-date-picker>
         </el-form-item> -->
         <el-form-item>
-          <el-button type="danger" @click="getList">搜索</el-button>
+          <el-button type="danger" @click="onSearch">搜索</el-button>
           <el-button type="primary" @click="onReset">重置</el-button>
         </el-form-item>
       </el-form>
@@ -558,6 +558,10 @@
           }
         })
       },
+      onSearch() {
+        this.pageInfo.page = 1
+        this.getList()
+      },
       onReset() { // 重置
         this.searchForm = {
           search: null,