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(); },