1***@qq.com
1***@qq.com
  • 发布:2024-06-21 18:13
  • 更新:2024-06-26 15:04
  • 阅读:21

【报Bug】uni.createInnerAudioContext。 使用部分手机报错。页面直接卡住了,不走流程了

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 11

HBuilderX类型: 正式

HBuilderX版本号: 3.7.11

第三方开发者工具版本号: 1.06.23

基础库版本号: 2.23.1

项目创建方式: HBuilderX

App下载地址或H5⽹址: 微信天天充电小程序

操作步骤:

复现不了。部分手机,微信版本也有最新的,也不行

预期结果:

预期播放语音

实际结果:

js单线程直接卡死到页面,以致于我们用户无法充电

bug描述:

IVue warn]: Error in onLoad hook: "TypeError:this.reportBeginPlay is not a function. (ln'this.reportBeginPlay(i,a)','this.reportBeginPlay' is undefined)"

<TypeError: this.reportBeginPlay is not a function. (in'this.reportBeginPlay(i,a)','this.reportBeginPlay'is
undefined)>
play@https://lib/AServiceMainContext.js:1:1318251play@https://lib/WAServiceMainContext.js:1:1321016
ote@https://lib/WAServiceMainContext.is:1:1332749play@https://lib/AServiceMainContext.is:1:1336572l@https://lib/WAServiceMainContext.js:1:923329
p@native code
playAudio@https://usr//app-service.js:13962:15
Error
9
getBasicData@https://usr//pages/charge/app
service.is:2975:18605
getBasicData@[native code]
onLoad@https://usr//pages/charge/app
service.js:2975:10252
invokeWithErrorHandling@https://usr//app-service.js:9291:31@https://usr//app-service.js:13322:38@https://usr//app-service.is:6655:25@https://lib/WASubContext.js:1:479398@Inative codel@https://lib/WASubContext.is:1:479191@https://lib/WASubContext.js:1:491144@https://lib/WASubContext.js:1:453125@https://lib/WASubContext.js:1:494152@https://lib/WASubContext.js:1:453125@https://lib/WASubContext.js:1:496725@https://lib/WASubContext.is:1:453125Er@https://lib/WASubContext.is:1:497584@https://lib/WASubContext.is:1:452198@https://lib/WAServiceMainContext.is:1:630333emitInternal@https://lib/WAServiceMainContext.is:1:635569

2024-06-21 18:13 负责人:无 分享
已邀请:
DCloud_UNI_OttoJi

DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信

提供下 vue 的版本,和脱敏后的单页面源码吧,私聊或者放压缩包。

提供更多信息,有助于定位和解答你的问题。

要回复问题请先登录注册