From a1ac1ee4778cfc80ce3bd759e3b1a51fc3efbce0 Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Tue, 3 Dec 2024 17:32:33 +0800 Subject: [PATCH] =?UTF-8?q?[backgroundaudio]=20=E4=BF=AE=E6=94=B9=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-background-audio-manager.uvue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/API/get-background-audio-manager/get-background-audio-manager.uvue b/pages/API/get-background-audio-manager/get-background-audio-manager.uvue index a792bb4f..1e0951e8 100644 --- a/pages/API/get-background-audio-manager/get-background-audio-manager.uvue +++ b/pages/API/get-background-audio-manager/get-background-audio-manager.uvue @@ -44,8 +44,7 @@ bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg'; bgAudioMannager.onCanplay(() => { console.log("音频进入可以播放状态事件"); - this.isCanplay = true - this.bgAudioMannager!.play() + this.isCanplay = true }) bgAudioMannager.onPlay(() => { console.log("开始播放"); -- GitLab