fix: 修复分页功能未生效问题,移除前端排序参数

This commit is contained in:
wkc
2026-02-27 14:32:35 +08:00
parent daf00281cd
commit d77ba7011c

View File

@@ -19,7 +19,7 @@
:data-list="projectList"
:total="total"
:page-params="queryParams"
@pagination="getList"
@pagination="handlePagination"
@enter="handleEnter"
@view-result="handleViewResult"
@re-analyze="handleReAnalyze"
@@ -94,9 +94,7 @@ export default {
pageNum: 1,
pageSize: 10,
projectName: null,
status: null,
orderByColumn: 'updateTime',
isAsc: 'desc'
status: null
},
// 标签页数量统计
tabCounts: {
@@ -153,6 +151,14 @@ export default {
this.queryParams.pageNum = 1
this.getList()
},
/** 分页事件处理 */
handlePagination(pagination) {
if (pagination) {
this.queryParams.pageNum = pagination.pageNum
this.queryParams.pageSize = pagination.pageSize
}
this.getList()
},
/** 新增按钮操作 */
handleAdd() {
this.projectForm = this.getEmptyForm()