修改 告警

This commit is contained in:
GGJ
2024-01-18 09:16:52 +08:00
parent 14e0904e87
commit 86119b6000
3 changed files with 9 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ export default class TableStore {
)
).then((res: any) => {
this.table.data = res.data.records || res.data
this.table.total = res.data.total || res.data.length
this.table.total = res.data.total || res.data.length||0
if (this.isWebPaging) {
this.table.webPagingData = window.XEUtils.chunk(this.table.data, this.table.params.pageSize)
this.table.data = this.table.webPagingData[this.table.params.pageNum - 1]