From 35d98434be92bc6cb3747520bd261060fedf905f Mon Sep 17 00:00:00 2001 From: yyt <1721861653@qq.com> Date: Mon, 29 May 2023 21:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80bug=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- teamwork/pages.json | 7 ------- teamwork/pages/sport/countdown.vue | 6 ++++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/teamwork/pages.json b/teamwork/pages.json index 48d45b7..fefadcd 100644 --- a/teamwork/pages.json +++ b/teamwork/pages.json @@ -164,13 +164,6 @@ "style": { "navigationStyle": "custom" } - }, { - "path": "pages/sport/countdown", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - }, { "path": "pages/post/message", "style": { diff --git a/teamwork/pages/sport/countdown.vue b/teamwork/pages/sport/countdown.vue index 6a9b9da..11055d8 100644 --- a/teamwork/pages/sport/countdown.vue +++ b/teamwork/pages/sport/countdown.vue @@ -28,11 +28,13 @@ }, methods: { change() { - Voice((this.digit).toString()) + if(this.digit>0){ + Voice((this.digit).toString()) + } this.digit-- if (this.digit == 0) { this.go = true - Voice('Go') + Voice('Go!') } if (this.digit == -1) { clearInterval(this.timer); -- GitLab