收入支出显示修复
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const app = getApp();
|
||||
Page({
|
||||
data: {
|
||||
sumYearAmnt: 0,
|
||||
payList: []
|
||||
},
|
||||
onLoad: function (options) {
|
||||
@@ -21,8 +22,8 @@ Page({
|
||||
}
|
||||
item.money = money;
|
||||
})
|
||||
console.log(payList);
|
||||
this.setData({payList})
|
||||
let sumYearAmnt = result[-1];
|
||||
this.setData({payList,sumYearAmnt})
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user