武将:修复登录返回

This commit is contained in:
陆莹
2022-03-23 15:26:37 +08:00
parent 7bb8250060
commit 0b3f689753
+4 -3
View File
@@ -64,11 +64,12 @@ export class HeroParam {
skins: HeroSKinParam[] = []; // 皮肤 skins: HeroSKinParam[] = []; // 皮肤
ePlace: EPlace[]; // 武将装备引用数组 ePlace: EPlace[]; // 武将装备引用数组
talent: Talent[]; talent: Talent[] = [];
usedTalentPoint: number; usedTalentPoint: number = 0;
totalTalentPoint: number; totalTalentPoint: number = 0;
constructor(hero: HeroType) { constructor(hero: HeroType) {
this.seqId = hero.seqId;
this.hid = hero.hid; this.hid = hero.hid;
this.hName = hero.hName; this.hName = hero.hName;
this.exp = hero.exp; this.exp = hero.exp;