排行榜:军团信息

This commit is contained in:
luying
2022-08-22 16:51:16 +08:00
parent 07c196e32f
commit e6b57507d1

View File

@@ -397,8 +397,16 @@ export class GeneralRankParam {
this.userInfo = pick(rankInfo, ['roleId', 'roleName', 'head', 'frame', 'spine', 'guildName', 'ce', 'title', 'lv', 'topLineupCe']);
this.hasUser = true;
}
if(rankInfo instanceof GuildRankInfo) {
let leaderInfo = pick(rankInfo.leader, ['roleId', 'roleName', 'head', 'frame', 'spine', 'ce', 'title', 'lv']);
this.userInfo = {
...leaderInfo, guildName: rankInfo.name, ce: rankInfo.guildCe, topLineupCe: rankInfo.guildCe
}
this.hasUser = true;
}
}
this.num = rankInfo?.num||0;
this.received = received;
}
}
}