luowei před 1 rokem
rodič
revize
a7db1281aa
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/views/system/dept/index.vue

+ 2 - 1
src/views/system/dept/index.vue

@@ -601,7 +601,7 @@ export default {
         this.total = response.total;
 
         this.loading = false;
-        this.queryParams.pageNum = 1;
+       
       });
     },
     /** 转换机构数据结构 */
@@ -641,6 +641,7 @@ export default {
     /** 搜索按钮操作 */
     handleQuery() {
       this.getList();
+      this.queryParams.pageNum = 1;
     },
     /** 重置按钮操作 */
     resetQuery() {