bug修复
This commit is contained in:
@@ -58,6 +58,18 @@ onLoad(async (options) => {
|
||||
redPoints.value = battleInfo.redScore;
|
||||
totalRounds.value = battleInfo.maxRound;
|
||||
roundResults.value = battleInfo.roundResults;
|
||||
setTimeout(() => {
|
||||
if (battleInfo.roundResults[battleInfo.roundResults.length - 1]) {
|
||||
scores.value =
|
||||
battleInfo.roundResults[
|
||||
battleInfo.roundResults.length - 1
|
||||
].redArrows;
|
||||
blueScores.value =
|
||||
battleInfo.roundResults[
|
||||
battleInfo.roundResults.length - 1
|
||||
].blueArrows;
|
||||
}
|
||||
}, 300);
|
||||
if (
|
||||
battleInfo.redTeam[0].shotHistory[battleInfo.currentRound] ||
|
||||
battleInfo.blueTeam[0].shotHistory[battleInfo.currentRound]
|
||||
|
||||
Reference in New Issue
Block a user