修改禅道已知bug

This commit is contained in:
范强强
2022-09-07 20:20:41 +08:00
parent 29e41a9356
commit 4a91131efc
2 changed files with 6 additions and 1 deletions
@@ -221,7 +221,7 @@
selectedRowrowValue: [], selectedRowrowValue: [],
dataSource: [], dataSource: [],
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 100,
pageSizeOptions: ['100', '200'], pageSizeOptions: ['100', '200'],
total: 0, total: 0,
searchParmes: {}, searchParmes: {},
@@ -767,6 +767,11 @@ export default {
this.loading = true this.loading = true
getAction(this.url.list, params).then(res => { getAction(this.url.list, params).then(res => {
if (res.success) { if (res.success) {
if (res.result.pageList.current > 1 && res.result.pageList.records.length == 0) {
this.pageNo = 1
this.loadData()
return
}
this.dataSource = res.result.pageList.records || [] this.dataSource = res.result.pageList.records || []
this.authmanage =res.result.auth_manage this.authmanage =res.result.auth_manage
this.total = res.result.pageList.total this.total = res.result.pageList.total