排行榜:fix
This commit is contained in:
@@ -35,7 +35,13 @@ export class RankParam {
|
|||||||
this.ce = role.ce;
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user