[update] 修改bug79790

This commit is contained in:
lideqin
2023-12-29 10:13:09 +08:00
parent e57a4c0438
commit bb70e8f4ab
3 changed files with 15 additions and 6 deletions
@@ -324,7 +324,10 @@ export default {
})
},
// 获取表格数据
replacePage () {
replacePage (arg) {
if (arg === 1) {
this.ipagination.current = 1
}
const query = {
...this.queryParam,
...this.searchParam,
@@ -351,7 +354,7 @@ export default {
this.replacePage()
},
searchQuery () {
this.replacePage()
this.replacePage(1)
},
searchReset () {
this.queryParam = {}
@@ -227,7 +227,10 @@ export default {
})
},
// 获取表格数据
replacePage () {
replacePage (arg) {
if (arg === 1) {
this.ipagination.current = 1
}
const query = {
...this.queryParam,
...this.searchParam,
@@ -254,7 +257,7 @@ export default {
this.replacePage()
},
searchQuery () {
this.replacePage()
this.replacePage(1)
},
searchReset () {
this.queryParam = {}
@@ -211,7 +211,10 @@ export default {
})
},
// 获取表格数据
replacePage () {
replacePage (arg) {
if (arg === 1) {
this.ipagination.current = 1
}
const query = {
...this.queryParam,
...this.filters,
@@ -238,7 +241,7 @@ export default {
})
},
searchQuery () {
this.replacePage()
this.replacePage(1)
},
searchReset () {
// 如果禁用来源,就不重置来源