From 60b4798fc4a3822eef8cb671ae85c05d2c39a4de Mon Sep 17 00:00:00 2001 From: gmk Date: Wed, 8 Dec 2021 15:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E5=85=A5=E7=B1=BB=E5=88=AB=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B8=85=E7=A9=BA=20=E5=B0=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../off-limits-main/off-limits-type/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue b/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue index 51e7c26..1533e0e 100644 --- a/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue +++ b/src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue @@ -1,7 +1,7 @@ @@ -196,6 +198,11 @@ export default { onSearch() { this.getList(); }, + // 点击清除按钮时 + onClear() { + this.$refs["pages"].currentPage = 1; + this.getList(); + }, // 获取分页数据 getList() { let reqBody = {