From 1ef4d64b2bc30ef47ab39a978af67d55876b29e8 Mon Sep 17 00:00:00 2001 From: zhaofengliang Date: Thu, 12 Dec 2024 17:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=83=8C=E6=99=AF=E9=9F=B3?= =?UTF-8?q?=E9=A2=91=E7=A4=BA=E4=BE=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-background-audio-manager.uvue | 2 ++ 1 file changed, 2 insertions(+) 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 d19c25f0..186260b2 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 @@ -59,6 +59,8 @@ bgAudioMannager.singer = '歌手:暂无' + this.count; bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg'; bgAudioMannager.src = this.dataUrl; + this.currentTime = bgAudioMannager.currentTime + this.duration = bgAudioMannager.duration bgAudioMannager.onCanplay(() => { console.log("音频进入可以播放状态事件"); this.buffered = bgAudioMannager.buffered; -- GitLab