fix pvpEnd显示得分未校验

This commit is contained in:
luying
2021-01-12 15:33:42 +08:00
parent 22f2eed34e
commit 44cc901736

View File

@@ -486,7 +486,7 @@ export async function generMyRecInfo(heroScores: HeroScores[], winStreakNum: num
});
} else {
showHeroScores.push({
hid, addScore: 0, plusScore: 0, score: curHeroScore.score
hid, addScore: 0, plusScore: 0, score: curHeroScore?curHeroScore.score: 0
});
}
const myHero = await HeroModel.findByHidAndRole(hid, roleId, 'quality star colorStar lv');