运行到手机,打包

- 发布:2021-01-21 14:17
- 更新:2021-01-21 14:17
- 阅读:495
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX类型: 正式
HBuilderX版本号: 3.0.5
手机系统: Android
手机系统版本号: Android 10
手机厂商: 小米
手机机型: 9se
页面类型: vue
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
运行到手机
运行到手机
实际结果:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'XDomainRequest' of undefined
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'XDomainRequest' of undefined
bug描述:
运行到浏览器没问题,真机运行和打包都会抱这个错
