|
@@ -99,7 +99,6 @@ export default {
|
|
|
.get('/api/mp/roomFeeRecord', query)
|
|
.get('/api/mp/roomFeeRecord', query)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
wx.hideLoading();
|
|
wx.hideLoading();
|
|
|
- console.log(res);
|
|
|
|
|
this.list = res.content;
|
|
this.list = res.content;
|
|
|
this.empty = res.empty;
|
|
this.empty = res.empty;
|
|
|
let countArr = this.list.filter(item => {
|
|
let countArr = this.list.filter(item => {
|
|
@@ -109,6 +108,8 @@ export default {
|
|
|
this.count = countArr.reduce((total, item) => {
|
|
this.count = countArr.reduce((total, item) => {
|
|
|
return total + item.money;
|
|
return total + item.money;
|
|
|
}, 0);
|
|
}, 0);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.count = 0;
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
.catch(e => {
|
|
.catch(e => {
|