排行榜:fix

This commit is contained in:
luying
2021-04-12 11:13:52 +08:00
parent 985f117d39
commit 92a5035ad6

View File

@@ -35,7 +35,13 @@ export class RankParam {
this.ce = role.ce;
}
}
if(role.updatedAt) this.updatedAt = getSeconds(role.updatedAt);
if(role.updatedAt) {
if(typeof role.updatedAt == 'number') {
this.updatedAt = role.updatedAt;
} else {
this.updatedAt = getSeconds(role.updatedAt);
}
}
}
}