From 7c6dc3de9463b4ac105384999353cd20d68fd716 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 1 Apr 2023 15:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E5=90=8D=E5=B0=86=E6=93=82?= =?UTF-8?q?=E5=8F=B0):=20=E5=AE=88=E6=96=B9=E5=AE=9D=E7=89=A9=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/domain/battleField/ladder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/domain/battleField/ladder.ts b/shared/domain/battleField/ladder.ts index 410c6163b..a6521b125 100644 --- a/shared/domain/battleField/ladder.ts +++ b/shared/domain/battleField/ladder.ts @@ -360,7 +360,7 @@ export class LadderOppDetailHeroReturn { talent: Talent[] = []; subHid: number = 0; // 副将 subActorId: number = 0; - artifact: HeroArtifact[] = []; + artifacts: HeroArtifact[] = []; constructor(warJson: DicWarJson, defensHero: LadderDefenseHero, artifacts: ArtifactModelType[]) { this.dataId = warJson.dataId; @@ -393,7 +393,7 @@ export class LadderOppDetailHeroReturn { this.subHid = hero.subHid; this.subActorId = hero.subActorId; let artifact = artifacts.find(cur => cur.seqId == hero.artifact); - if(artifact) this.artifact.push({ artifactId: artifact.artifactId, lv: artifact.lv }); + if(artifact) this.artifacts.push({ artifactId: artifact.artifactId, lv: artifact.lv }); } } }