NervJS / taro

开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
https://docs.taro.zone/
Other
35.68k stars 4.79k forks source link

微信skyline使用CustomWrapper之后报错 #15161

Closed Engine-C closed 3 weeks ago

Engine-C commented 10 months ago

相关平台

微信小程序

小程序基础库: 3.3.3 使用框架: React

复现步骤

使用CustomWrapper包裹组件后,在最新版微信skyline中会报错

期望结果

不报错

实际结果

Error: The for-list data is neither Array nor Object, got type "undefined".
    at Je.updateKeys (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at new Je (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1
    at et.handleChildrenCreation (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at et.handleChildrenCreationAndInsert (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at l (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at et.handleChildrenCreation (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at et.handleChildrenCreationAndInsert (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at et.create (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)
    at ht.initValues (WAServiceMainContext.js?t=wechat&s=1706083201789&v=3.3.2:1)(env: macOS,mp,1.06.2401192; lib: 3.3.2)

环境信息

👽 Taro v3.6.23

  Taro CLI 3.6.23 environment info:
    System:
      OS: Linux .el7.ucloud.x86_64 #1 SMP Wed Apr 28 09:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
    Binaries:
      Node: 16 
    npmPackages:
      @tarojs/cli: 3.6.23 => 3.6.23 
      @tarojs/components: 3.6.23 => 3.6.23 
      @tarojs/helper: 3.6.23 => 3.6.23 
      @tarojs/plugin-framework-react: 3.6.23 => 3.6.23 
      @tarojs/plugin-platform-weapp: 3.6.23 => 3.6.23 
      @tarojs/react: 3.6.23 => 3.6.23 
      @tarojs/runtime: 3.6.23 => 3.6.23 
      @tarojs/shared: 3.6.23 => 3.6.23 
      @tarojs/taro: 3.6.23 => 3.6.23 
      @tarojs/taro-loader: 3.6.23 => 3.6.23 
      @tarojs/webpack5-runner: 3.6.23 => 3.6.23 
      babel-preset-taro: 3.6.23 => 3.6.23 
      eslint-config-taro: 3.6.23 => 3.6.23 
      react: ^18.2.0 => 18.2.0 
koppthe commented 7 months ago

有可以复现的代码吗?

Engine-C commented 6 months ago

微信已经将这个错误等级调整为warning

tutuxxx commented 3 weeks ago

未复现该问题,如需解决请提供可复现问题的代码