diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue
index 4b82627..434aee1 100644
--- a/src/components/BowTarget.vue
+++ b/src/components/BowTarget.vue
@@ -150,8 +150,8 @@ const simulShoot2 = async () => {
v-if="blueScores.length && showRoundTips && showLatestArrow"
class="round-tip fade-in-out"
:style="{
- left: calcRealX(scores[scores.length - 1].x, 70),
- top: calcRealY(scores[scores.length - 1].y, 100),
+ left: calcRealX(blueScores[blueScores.length - 1].x, 70),
+ top: calcRealY(blueScores[blueScores.length - 1].y, 100),
}"
>{{ blueScores[blueScores.length - 1].ring }}环
diff --git a/src/components/PlayerScore.vue b/src/components/PlayerScore.vue
index 28a5866..3635a8a 100644
--- a/src/components/PlayerScore.vue
+++ b/src/components/PlayerScore.vue
@@ -12,10 +12,6 @@ defineProps({
type: Array,
default: () => [],
},
- done: {
- type: Boolean,
- default: false,
- },
});
const rowCount = new Array(6).fill(0);
@@ -23,11 +19,11 @@ const rowCount = new Array(6).fill(0);
-
+
{{ name }}
diff --git a/src/components/PlayerScore2.vue b/src/components/PlayerScore2.vue
index a755b30..1f65362 100644
--- a/src/components/PlayerScore2.vue
+++ b/src/components/PlayerScore2.vue
@@ -52,7 +52,7 @@ const rowCount = new Array(6).fill(0);
/>
{{ rank }}
diff --git a/src/components/RoundEndTip.vue b/src/components/RoundEndTip.vue
index c9f832e..e875777 100644
--- a/src/components/RoundEndTip.vue
+++ b/src/components/RoundEndTip.vue
@@ -57,16 +57,16 @@ onUnmounted(() => {
第{{ round }}轮射击结束
- 本轮红队
+ 本轮蓝队
{{
- (roundData.redArrows || []).reduce(
+ (roundData.blueArrows || []).reduce(
(last, next) => last + next.ring,
0
)
}}
- 环,蓝队
+ 环,红队
{{
- (roundData.blueArrows || []).reduce(
+ (roundData.redArrows || []).reduce(
(last, next) => last + next.ring,
0
)
diff --git a/src/pages/battle-room.vue b/src/pages/battle-room.vue
index 1ae291c..908fbab 100644
--- a/src/pages/battle-room.vue
+++ b/src/pages/battle-room.vue
@@ -1,5 +1,5 @@