武将:修复登录返回

This commit is contained in:
陆莹
2022-03-23 15:26:37 +08:00
parent 7bb8250060
commit 0b3f689753

View File

@@ -64,11 +64,12 @@ export class HeroParam {
skins: HeroSKinParam[] = []; // 皮肤
ePlace: EPlace[]; // 武将装备引用数组
talent: Talent[];
usedTalentPoint: number;
totalTalentPoint: number;
talent: Talent[] = [];
usedTalentPoint: number = 0;
totalTalentPoint: number = 0;
constructor(hero: HeroType) {
this.seqId = hero.seqId;
this.hid = hero.hid;
this.hName = hero.hName;
this.exp = hero.exp;