相关平台
微信小程序
小程序基础库: 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
2条答案
按热度按时间yeotifhr1#
有可以复现的代码吗?
uqjltbpv2#
微信已经将这个错误等级调整为warning