|
|
@@ -919,11 +919,11 @@ export default {
|
|
|
// 加载全家今日任务(用于成员待完成数角标)
|
|
|
getTodayTasks(null, { familyWide: true }).then(function(res) {
|
|
|
if (res.code === 200 && Array.isArray(res.data)) {
|
|
|
- self.memberPendingCounts = self._countTasksByMember(res.data)
|
|
|
+ this.memberPendingCounts = this._countTasksByMember(res.data)
|
|
|
}
|
|
|
}).catch(function() {
|
|
|
- self.memberPendingCounts = {}
|
|
|
- })
|
|
|
+ this.memberPendingCounts = {}
|
|
|
+ }.bind(this))
|
|
|
|
|
|
// 加载推荐活动
|
|
|
this.loadRecommendedActivities()
|