显示头像相框
This commit is contained in:
@@ -170,7 +170,7 @@ export const getGameAPI = async (battleId) => {
|
||||
data.roundsData = {};
|
||||
data.redPlayers = {};
|
||||
data.bluePlayers = {};
|
||||
data.goldenRound = goldenRoundRecords.length ? goldenRoundRecords[0] : null;
|
||||
data.goldenRound = goldenRoundRecords && goldenRoundRecords.length ? goldenRoundRecords[0] : null;
|
||||
playerStats.forEach((item) => {
|
||||
const { playerBattleStats = {}, roundRecords = [] } = item;
|
||||
if (playerBattleStats.team === 0) {
|
||||
|
||||
Reference in New Issue
Block a user