fix: 处理分页问题

This commit is contained in:
lzhizhao 2025-07-09 00:09:10 +08:00
parent 6e866cac0e
commit c473d6a614
2 changed files with 4 additions and 4 deletions

View File

@ -174,11 +174,11 @@ export default {
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.query.pageSize = val; this.query.pageSize = val;
this.getList(); this.queryList();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.query.pageNumber = val; this.query.pageNumber = val;
this.getList(); this.queryList();
}, },
Reset() { Reset() {
this.formList = {}; this.formList = {};

View File

@ -174,11 +174,11 @@ export default {
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.query.pageSize = val; this.query.pageSize = val;
this.getList(); this.queryList();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.query.pageNumber = val; this.query.pageNumber = val;
this.getList(); this.queryList();
}, },
Reset() { Reset() {
this.formList = {}; this.formList = {};