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 a792bb4f7e85cf4091f06e4ae8593da6e35af959..1e0951e8fc32ee3435948b8cb5be96eadf92ad4e 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("开始播放");