From b1238eff57ecc290da453643b3504478cb6529d7 Mon Sep 17 00:00:00 2001 From: chenlimao Date: Mon, 11 May 2026 15:14:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BC=98=E5=8C=96=E5=86=B3?= =?UTF-8?q?=E9=87=91=E7=AE=AD=E7=9A=84=E6=95=B0=E9=87=8F=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/team-battle.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/team-battle.vue b/src/pages/team-battle.vue index f0a2d69..3f5e7ea 100644 --- a/src/pages/team-battle.vue +++ b/src/pages/team-battle.vue @@ -160,6 +160,10 @@ function onBattleEnd() { function onNewRound(msg, prevRound) { showRoundTip.value = true; isFinalShoot.value = msg.current.goldRound; + // 决金箭轮每人只射一箭,重置箭数显示为 (0/1) + if (msg.current.goldRound) { + uni.$emit("update-shot", { currentShot: 0, totalShot: 1 }); + } // 用传入的 prevRound(捕获时刻的旧轮次)展示结算 Tip,与进度条 currentRound 解耦 roundTipRound.value = prevRound; const latestRound = msg.rounds[prevRound - 1];