Compare commits
	
		
			2 Commits
		
	
	
		
			64e4d87f6d
			...
			421673afcb
		
	
	| Author | SHA1 | Date | 
|---|---|---|
|  | 421673afcb | |
|  | 0215c0c600 | 
|  | @ -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