|
@@ -152,6 +152,7 @@ export default {
|
|
|
// 更改每页数量
|
|
|
handleSizeChange(val) {
|
|
|
this.pageSize = val
|
|
|
+ this.currentPage = 1
|
|
|
this.getList({
|
|
|
...this.searchForm,
|
|
|
pageNumber: this.currentPage,
|
|
@@ -169,9 +170,10 @@ export default {
|
|
|
},
|
|
|
//搜索功能
|
|
|
async searchFn() {
|
|
|
+ this.currentPage = 1
|
|
|
await this.getList({
|
|
|
...this.searchForm,
|
|
|
- pageNumber: 1,
|
|
|
+ pageNumber: this.currentPage,
|
|
|
pageSize: this.pageSize
|
|
|
})
|
|
|
},
|