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 0c7c0effcb957d3e89298dd86ffe92a3df95ab1d..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; @@ -211,4 +213,4 @@ flex-direction: row; justify-content: center; } - \ No newline at end of file +