Commit b367e101 by wangjian

1

parent 055999e3
......@@ -105,10 +105,10 @@ export default {
.post('/integral/index', { page: this.page, pageSize: this.pageSize, applyDate: this.applyDate, type: this.currentTab })
.then(res => {
this.applyDate = res.data.applyDate;
this.allConsume = res.data.allConsume.length>0?res.data.allConsume:'0.00';
this.allIncome = res.data.allIncome.length>0?res.data.allIncome:'0.00';
if (res.data.list.length > 0) {
this.integralList = this.integralList.concat(res.data.list);
this.allConsume = res.data.allConsume;
this.allIncome = res.data.allIncome;
this.page += 1;
}
this.loadingType = res.data.list.length < this.pageSize ? 'noMore' : 'more';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment