@@ -93,7 +93,7 @@ Page({
for (let key in weeks) {
scoredays.push({
name:key,
- data:weeks[key]
+ data:weeks[key].reverse()
})
}
this.setData({
@@ -128,6 +128,10 @@ Page({
wx.showToast({
title: '打分成功',
+ this.setData({
+ isScore:1
+ })
+ this.getWeekAvg()
},