|
@@ -149,15 +149,15 @@
|
|
|
// 积分更新
|
|
|
this.scoreInfo.score = re.data.reward + this.scoreInfo.score;
|
|
|
// 更新打卡
|
|
|
- for (let i in this.clockinList) {
|
|
|
+ for (let i in this.clockinList[this.listKey]) {
|
|
|
// 如果小于等于连续打卡天数,设置为打卡
|
|
|
- if (this.clockinList[this.listKey][i].what_day <= this.isMark.finish_day) this
|
|
|
- .clockinList[this.listKey][i].is_finish = 1;
|
|
|
+ if (this.clockinList[this.listKey][i].what_day <= this.isMark.finish_day) this.clockinList[this.listKey][i].is_finish = 1;
|
|
|
}
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: '打卡失败',
|
|
|
icon: "none"
|
|
|
+
|
|
|
})
|
|
|
}
|
|
|
});
|