排行榜:军团信息
This commit is contained in:
@@ -397,6 +397,14 @@ export class GeneralRankParam {
|
|||||||
this.userInfo = pick(rankInfo, ['roleId', 'roleName', 'head', 'frame', 'spine', 'guildName', 'ce', 'title', 'lv', 'topLineupCe']);
|
this.userInfo = pick(rankInfo, ['roleId', 'roleName', 'head', 'frame', 'spine', 'guildName', 'ce', 'title', 'lv', 'topLineupCe']);
|
||||||
this.hasUser = true;
|
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.num = rankInfo?.num||0;
|
||||||
this.received = received;
|
this.received = received;
|
||||||
|
|||||||
Reference in New Issue
Block a user