From 054bf2ef218ec66daf79cc4d9d34fa32ceed59da Mon Sep 17 00:00:00 2001 From: kron Date: Sat, 5 Jul 2025 13:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=83=E4=B9=A0=E8=B6=85?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E9=87=8D=E6=96=B0=E6=8C=91=E6=88=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BowTarget.vue | 4 +-- src/components/ScoreResult.vue | 42 +++++++++++++++++++++++-------- src/components/ShootProgress.vue | 3 ++- src/components/StartCountdown.vue | 10 ++++++-- src/pages/first-try.vue | 17 ++++++++++--- src/pages/practise-one.vue | 15 ++++++++--- src/pages/practise-two.vue | 14 ++++++++--- src/util.js | 12 ++++++--- 8 files changed, 88 insertions(+), 29 deletions(-) diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue index 37bf567..fdfc48c 100644 --- a/src/components/BowTarget.vue +++ b/src/components/BowTarget.vue @@ -63,9 +63,7 @@ const timer = ref(null); watch( () => props.start, (newVal) => { - if (newVal) { - startCount.value = true; - } + startCount.value = newVal; }, { immediate: true, diff --git a/src/components/ScoreResult.vue b/src/components/ScoreResult.vue index 574ddbf..9c21411 100644 --- a/src/components/ScoreResult.vue +++ b/src/components/ScoreResult.vue @@ -1,5 +1,5 @@