fix: 修复报告传值错误问题

This commit is contained in:
@changcode
2022-04-22 11:18:14 +08:00
parent 4e48c5c652
commit bccea4cf5c
3 changed files with 4 additions and 7 deletions

View File

@@ -76,8 +76,10 @@ export default {
getTableData (params) {
if (params) {
this.searchLabel = { ...this.searchLabel, ...params }
} else {
this.searchLabel = {}
}
this.searchLabel = { ...this.searchLabel, ...this.pageObj}
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
this.tools.loading = true
delete this.searchLabel.total
let listUrl = this.url