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 d19c25f036f84e272c6d769908b614bfd2939099..186260b27cda517265ac6087823189d91705a052 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;