|
@@ -871,7 +871,7 @@ export default {
|
|
|
if(res.Data){
|
|
|
this.chartList = this.CurrentIndex===1?res.Data.List:[...this.chartList,...res.Data.List]
|
|
|
this.Total = res.Data.Paging.Totals||0
|
|
|
- this.IsListEnd = !(this.CurrentIndex<res.Data.Paging.pages)
|
|
|
+ this.IsListEnd = res.Data.Paging.IsEnd
|
|
|
}
|
|
|
|
|
|
|
|
@@ -882,7 +882,7 @@ export default {
|
|
|
let scrollTop = this.$refs.listRef.scrollTop;
|
|
|
let clientHeight = this.$refs.listRef.clientHeight;
|
|
|
let scrollHeight = this.$refs.listRef.scrollHeight;
|
|
|
- if(scrollTop + clientHeight >= scrollHeight-10 && this.IsListEnd){
|
|
|
+ if(scrollTop + clientHeight >= scrollHeight-10 && !this.IsListEnd){
|
|
|
this.CurrentIndex++;
|
|
|
this.getEdbChartList();
|
|
|
}
|