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

调整背景音频播放示例。

上级 12314b70
......@@ -1526,7 +1526,7 @@
}
},
// #endif
// #ifdef APP-ANDROID || MP-WEIXIN
// #ifdef APP || MP-WEIXIN
{
"path": "pages/API/get-background-audio-manager/get-background-audio-manager",
"group": "1,7,10",
......
......@@ -111,7 +111,8 @@
console.log('播放出错err', err);
})
this.bgAudioMannager = bgAudioMannager;
this.playing = !bgAudioMannager.paused
this.playing = !bgAudioMannager.paused
this.isCanplay = this.bgAudioMannager.duration > 0
},
methods: {
play: function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册