Merge branch 'dev' of http://47.94.45.65:3000/angelo/web-zk-h5 into test
This commit is contained in:
commit
421673afcb
|
@ -308,15 +308,15 @@ export default {
|
||||||
|
|
||||||
const res = await arc.getAzFrameworkList(this.queryParams)
|
const res = await arc.getAzFrameworkList(this.queryParams)
|
||||||
|
|
||||||
if (res.code === 200 && res.data) {
|
if (res.code === 200 && res.rows) {
|
||||||
const newData = res.data.rows || []
|
const newData = res.rows || []
|
||||||
|
|
||||||
if (this.currentPage === 1) {
|
if (this.currentPage === 1) {
|
||||||
this.pointList = newData
|
this.pointList = newData
|
||||||
} else {
|
} else {
|
||||||
this.pointList = [...this.pointList, ...newData]
|
this.pointList = [...this.pointList, ...newData]
|
||||||
}
|
}
|
||||||
this.total = res.data.total || 0
|
this.total = res.total || 0
|
||||||
|
|
||||||
// 优化hasMore判断逻辑
|
// 优化hasMore判断逻辑
|
||||||
this.hasMore =
|
this.hasMore =
|
||||||
|
|
Loading…
Reference in New Issue