提交修改翻页问题

This commit is contained in:
wulin 2020-12-28 16:16:48 +08:00
parent e23af9ef81
commit 4830c1c3b2

View File

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