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 efd7c2e8250ee924be9b49214b4fe165558d6221..319cba1ab36d8fbf634fa0771fe532d11ab58b72 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("开始播放");