dxww
dxww
  • 发布:2025-07-11 09:57
  • 更新:2025-07-14 17:36
  • 阅读:78

编译到 IOS基座时 ios系统版本13.5.1 无法访问第二个分包路径下的页面

分类:uni-app

运行到 ios基座 ios系统版本13.5.1  无法访问第二个分包路径下的页面  报错 null is not an object (evaluating 're.el=ol.el')
我更换了手机进行测试 ios版本 18.1 可以正常访问第二分包 有大佬知道是怎么回事吗

2025-07-11 09:57 负责人:无 分享
已邀请:
DCloud_UNI_OttoJi

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

提供复现工程,说明 HBuilderX 和 vue 版本。比说明操作步骤,提供更多信息,有助于定位和解答你的问题。

  • dxww (作者)

    HBuilderX 4.66 vue 3.4.21

    设备:iphone 6 plus

    操作系统:13.5.1

    在第二个分包 分包路径点击之后无法进入页面 提示

    16:55:30.405 null is not an object (evaluating 're.el=ol.el')

    16:55:30.405 Le@weex-main-jsfm.js:44:71934

    16:55:30.405 run@weex-main-jsfm.js:23:188273

    16:55:30.405 weex-main-jsfm.js:44:72239

    16:55:30.405 We@weex-main-jsfm.js:44:72397

    16:55:30.405 Ce@weex-main-jsfm.js:44:70377

    16:55:30.405 Se@weex-main-jsfm.js:44:70072

    16:55:30.405 qe@weex-main-jsfm.js:44:65984

    16:55:30.405 Ye@weex-main-jsfm.js:44:68095

    16:55:30.405 tt@weex-main-jsfm.js:44:67070

    16:55:30.405 st@weex-main-jsfm.js:44:66876

    16:55:30.405 qe@weex-main-jsfm.js:44:65949

    16:55:30.405 Le@weex-main-jsfm.js:44:71894

    16:55:30.405 run@weex-main-jsfm.js:23:188273

    16:55:30.405 weex-main-jsfm.js:44:72239

    16:55:30.405 We@weex-main-jsfm.js:44:72397

    16:55:30.405 Ce@weex-main-jsfm.js:44:70377

    16:55:30.405 Se@weex-main-jsfm.js:44:70072

    16:55:30.405 qe@weex-main-jsfm.js:44:65984

    16:55:30.405 Yn@weex-main-jsfm.js:44:77259

    16:55:30.405 ut@weex-main-jsfm.js:45:106975

    16:55:30.405 mountPage@weex-main-jsfm.js:46:23210

    16:55:30.405 tf@weex-main-jsfm.js:46:207019

    16:55:30.405 weex-main-jsfm.js:46:214042

    16:55:30.405 Promise@[native code]

    16:55:30.405 PN@weex-main-jsfm.js:46:214032

    16:55:30.405 weex-main-jsfm.js:46:213772

    16:55:30.405 Ff@weex-main-jsfm.js:46:212130

    16:55:30.405 yv@weex-main-jsfm.js:46:213762

    16:55:30.405 weex-main-jsfm.js:45:354046

    16:55:30.405 Promise@[native code]

    16:55:30.405 weex-main-jsfm.js:45:354035

    16:55:30.405 toPath@app-service.js:36484:25

    16:55:30.405 toPath@[native code]

    16:55:30.406 Kn@weex-main-jsfm.js:29:3303

    16:55:30.406 sn@weex-main-jsfm.js:29:3383

    16:55:30.406 f@weex-main-jsfm.js:45:98589

    16:55:30.406 dispatchEvent@weex-main-jsfm.js:24:4054

    16:55:30.406 fireEvent@weex-main-jsfm.js:46:168928

    16:55:30.406 YN@weex-main-jsfm.js:46:223770

    16:55:30.406 weex-main-jsfm.js:46:223910

    16:55:30.406 forEach@[native code]

    16:55:30.406 KN@weex-main-jsfm.js:46:223864

    16:55:30.406 emit@weex-main-jsfm.js:24:11388

    16:55:30.406 subscribeHandler@weex-main-jsfm.js:46:16876

    16:55:30.406 weex-main-jsfm.js:46:225837

    16:55:30.406 emit@weex-main-jsfm.js:24:11388

    16:55:30.406 subscribeHandler@weex-main-jsfm.js:46:16876

    16:55:30.406 Sv@weex-main-jsfm.js:46:222525

    16:55:30.406 consume@weex-main-jsfm.js:24:216572

    16:55:30.406 Yk@weex-main-jsfm.js:26:234257

    16:55:30.406 weex-main-jsfm.js:26:234744

    16:55:30.406 map@[native code]

    16:55:30.406 dp@weex-main-jsfm.js:26:234698 __ERROR

    2025-08-18 16:56

  • DCloud_UNI_OttoJi

    回复 dxww: 看报错来自 nvue ,切换成 vue 再试一下,先排除 ios 低版本的兼容性问题。

    2025-08-18 19:46

  • dxww (作者)

    回复 DCloud_UNI_OttoJi: 我并没有使用nvue

    2025-08-19 09:32

  • dxww (作者)

    回复 DCloud_UNI_OttoJi:

    HBuilderX 4.66 vue 3.4.21


    设备:iphone 12 plus max


    操作系统:IOS 18.6


    情况:正常


    设备:HONOR X 10


    操作系统:HarmonyOS 3.0.0


    情况:正常


    设备:vivo X9


    操作系统:Funtouc OS 7.1.2


    情况:正常

    其他手机测试的时候是正常的

    2025-08-19 09:33

  • dxww (作者)

    回复 DCloud_UNI_OttoJi:

    包路径:


    主包:page


    分包A:pages_manage


    分包B:pages_B


    分包B的内容会出现这个问题

    2025-08-19 10:19

  • DCloud_UNI_OttoJi

    回复 dxww: 你好,如果可以稳定复现,请提供一个复现工程,先明确问题有助于解决你的 问题

    2025-08-19 15:40

  • dxww (作者)

    回复 DCloud_UNI_OttoJi:

    很难复现,将手机系统由 IOS 13.5.1 升级到 IOS 15.8.4 问题消失了

    2025-08-21 13:45

要回复问题请先登录注册