From c678cf52bfb28bc71fb05f2d7379c322698f7b4a Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Thu, 31 Oct 2024 16:44:34 +0800 Subject: [PATCH] =?UTF-8?q?[audio]=E4=BF=AE=E6=94=B9=E9=9F=B3=E9=A2=91?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/background-audio/background-audio.uvue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/API/background-audio/background-audio.uvue b/pages/API/background-audio/background-audio.uvue index 8eba162b..4b9d10e7 100644 --- a/pages/API/background-audio/background-audio.uvue +++ b/pages/API/background-audio/background-audio.uvue @@ -13,7 +13,6 @@ - @@ -59,7 +58,6 @@ this.playing = false; }) bgAudioMannager.onEnded(() => { - this.playing = false; this.playing = false; // this.playTime = this.playTime = 0; // thi.formatedPlayTime = this.formatedPlayTime @@ -129,6 +127,7 @@ }, stop: function () { this.bgAudioMannager?.stop(); + this.playing = false } } } -- GitLab