feat(resettle2): 分页返回结构变更

This commit is contained in:
woody 2025-10-21 09:53:42 +08:00
parent b5fa07eee4
commit 0215c0c600
1 changed files with 3 additions and 3 deletions

View File

@ -308,15 +308,15 @@ export default {
const res = await arc.getAzFrameworkList(this.queryParams)
if (res.code === 200 && res.data) {
const newData = res.data.rows || []
if (res.code === 200 && res.rows) {
const newData = res.rows || []
if (this.currentPage === 1) {
this.pointList = newData
} else {
this.pointList = [...this.pointList, ...newData]
}
this.total = res.data.total || 0
this.total = res.total || 0
// hasMore
this.hasMore =