下面是app.js设置的背景音乐
createBgm() {
this.globalData.bgrAudioContext = wx.createInnerAudioContext();
this.globalData.bgrAudioContext.autoplay = true;
this.globalData.bgrAudioContext.src = this.globalData.bgm_src;
this.globalData.bgrAudioContext.loop = true;
this.globalData.bgrAudioContext.play();
this.globalData.bg_is_play = true;
},
我也遇到了,应该每个苹果手机都是这样吧
你好,麻烦具体描述问题流程,提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html