提交 c92eaaad 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

Merge branch 'dev' of gitcode.net:dcloud/hello-uni-app-x into dev

...@@ -44,8 +44,7 @@ ...@@ -44,8 +44,7 @@
bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg'; bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg';
bgAudioMannager.onCanplay(() => { bgAudioMannager.onCanplay(() => {
console.log("音频进入可以播放状态事件"); console.log("音频进入可以播放状态事件");
this.isCanplay = true this.isCanplay = true
this.bgAudioMannager!.play()
}) })
bgAudioMannager.onPlay(() => { bgAudioMannager.onPlay(() => {
console.log("开始播放"); console.log("开始播放");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册