活动:修复签到的todayIndex
This commit is contained in:
@@ -97,7 +97,7 @@ export class SignInData extends ActivityBase {
|
||||
if (this.type === ACTIVITY_TYPE.NEW_PLAYER_SIGN_IN) {
|
||||
this.roundIndex = 1;
|
||||
}
|
||||
this.todayIndex = Math.ceil((moment(date).valueOf() - this.beginTime) / (24 * 60 * 60 * 1000));
|
||||
this.todayIndex = Math.ceil((moment().valueOf() - this.beginTime) / (24 * 60 * 60 * 1000));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user