新服配置
This commit is contained in:
@@ -385,6 +385,7 @@ export interface myIdInter {
|
||||
// 排行榜总览左边的数据
|
||||
export class GeneralRankParam {
|
||||
type: number; // 排行榜id
|
||||
hasUser: boolean = false;
|
||||
userInfo?: RankParam;
|
||||
num: number;
|
||||
received: number[];
|
||||
@@ -394,9 +395,10 @@ export class GeneralRankParam {
|
||||
if(general == 1) {
|
||||
if(rankInfo instanceof RoleRankInfo) {
|
||||
this.userInfo = pick(rankInfo, ['roleId', 'roleName', 'head', 'frame', 'spine', 'guildName', 'ce', 'title', 'lv', 'topLineupCe']);
|
||||
this.hasUser = true;
|
||||
}
|
||||
}
|
||||
this.num = rankInfo.num;
|
||||
this.num = rankInfo?.num||0;
|
||||
this.received = received;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user