From 4830c1c3b2725ca8fc01be4f7484ee776e2d1257 Mon Sep 17 00:00:00 2001 From: wulin Date: Mon, 28 Dec 2020 16:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/device-manage/device-list.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/modules/device-manage/device-list.vue b/src/views/modules/device-manage/device-list.vue index 6912142..d1765e5 100644 --- a/src/views/modules/device-manage/device-list.vue +++ b/src/views/modules/device-manage/device-list.vue @@ -343,7 +343,7 @@ export default { }); }, currentChangeHandle(val) { - this.btnSearch() + this.btnSearch(val) }, // 新增 / 编辑 handleAddOrUpdate(val) { @@ -460,8 +460,13 @@ export default { this.getData() }, - btnSearch() { - this.specReq.page = 1 + btnSearch(val) { + if(!val){ + this.specReq.page = 1 + }else{ + this.specReq.page = val + } + this.getData(); },