好友:修复查看他人阵容

This commit is contained in:
luying
2022-01-13 19:48:34 +08:00
parent 6275c4b561
commit 266b0cf438

View File

@@ -686,6 +686,7 @@ export class FriendHandler {
if (curHero) { if (curHero) {
let hero = new PlayerDetailHero(); let hero = new PlayerDetailHero();
hero.setByDbHero(curHero); hero.setByDbHero(curHero);
heroes.push(hero);
} }
} }
} else { } else {
@@ -694,6 +695,7 @@ export class FriendHandler {
if (curHero) { if (curHero) {
let hero = new PlayerDetailHero(); let hero = new PlayerDetailHero();
hero.setByDbHero(curHero); hero.setByDbHero(curHero);
heroes.push(hero);
} }
} }
} }