We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 2.14.1 使用框架: React
在 3.0.26 下能正常使用,使用 3.1.0 后无法传递 list 过去原生组件
<mp-index-list list={list}></mp-index-list>
原生组件 props 正确传递
原生组件 props 无法传递
👽 Taro v3.1.0 Taro CLI 3.1.0 environment info: System: OS: macOS 11.1 Shell: 5.8 - /bin/zsh Binaries: Node: 15.7.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.4.3 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.1.0 => 3.1.0 @tarojs/mini-runner: 3.1.0 => 3.1.0 @tarojs/react: 3.1.0 => 3.1.0 @tarojs/runtime: 3.1.0 => 3.1.0 @tarojs/taro: 3.1.0 => 3.1.0 @tarojs/webpack-runner: 3.1.0 => 3.1.0 babel-preset-taro: 3.1.0 => 3.1.0 eslint-config-taro: 3.1.0 => 3.1.0 react: ^17.0.0 => 17.0.1
The text was updated successfully, but these errors were encountered:
Duplicate of #8756
3.1.1 修复
Sorry, something went wrong.
3.1.1 props 还是没有传给原生组件
我这边更新3.1.1后已修复问题
#8797
新的 JSX Transform 有 _jsx 和 _jsxs 两个函数:
_jsx
_jsxs
3.1.1 只兼容了 _jsx,但 _jsxs 还没兼容,所以部分原生组件的属性还是缺失,3.1.2 修复。
好的,等待更新
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 2.14.1
使用框架: React
复现步骤
在 3.0.26 下能正常使用,使用 3.1.0 后无法传递 list 过去原生组件
期望结果
原生组件 props 正确传递
实际结果
原生组件 props 无法传递
环境信息
The text was updated successfully, but these errors were encountered: