1***@qq.com
1***@qq.com
  • 发布:2024-06-14 11:30
  • 更新:2024-06-14 14:45
  • 阅读:229

真机模式运行报错请求的页面无法打开

分类:uni-app

应用【mobile】已启动
11:17:55.379 error
11:17:55.379 请求的页面无法打开:file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/uniappview.html at file:///android_asset/data/dcloud_error.html:41
11:17:56.601 You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.
11:17:57.847 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'userAgent' of undefined
at (app-service.js:40308:48)
at (app-service.js:40271:32)
at (app-service.js:40276:11)
at
commonjs (app-service.js:40266:44)
at (app-service.js:40268:22)
at (app-service.js:40262:25)
at (app-service.js:40263:7)
at (app-service.js:41029:5)
at (app-service.js:163136:2)

在浏览器运行是没有问题的

2024-06-14 11:30 负责人:无 分享
已邀请:
套马杆的套子

套马杆的套子 - 没有解决不了的问题,只有解决不完的问题

那就是有哪块,可能是支持h5的api,在手机上不支持,导致会有这个问题,
这就是代码问题,一点一点的删代码查问题吧

要回复问题请先登录注册