新服配置

This commit is contained in:
luying
2022-08-19 11:02:12 +08:00
parent c10ba19200
commit c34c8bc446
10 changed files with 388 additions and 3 deletions

View File

@@ -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;
}
}