fix : setting下的页面在翻页、搜索时去掉向接口传递的'total'参数

This commit is contained in:
晶晶 张
2021-08-19 10:04:46 +08:00
parent 77c65e953c
commit bb0dceb05c
2 changed files with 3 additions and 3 deletions

View File

@@ -16,8 +16,7 @@ export default {
},
pageObj: { // 分页对象
pageNo: 1,
pageSize: defaultPageSize,
total: ''
pageSize: defaultPageSize
},
/* 工具参数 */
tools: {
@@ -145,6 +144,7 @@ export default {
this.getTableData()
},
search (params) {
console.info(params)
this.pageObj.pageNo = 1
this.getTableData({ q: params })
}