-
Notifications
You must be signed in to change notification settings - Fork 4.9k
CustomWrapper组件传入className和style无效 #19242
Copy link
Copy link
Open
Labels
F-reactFramework - ReactFramework - ReactT-alipayTarget - 编译到支付宝小程序Target - 编译到支付宝小程序T-ddT-feishuT-h5Target - 编译到 H5Target - 编译到 H5T-harmonyTarget - 编译到 HarmonyTarget - 编译到 HarmonyT-harmony_hybridTarget - 编译到 Harmony (Hybird 模式)Target - 编译到 Harmony (Hybird 模式)T-jdTarget - 编译到京东小程序Target - 编译到京东小程序T-kwaiT-qqTarget - 编译到 QQ 小程序Target - 编译到 QQ 小程序T-quickappTarget - 编译到快应用Target - 编译到快应用T-qyT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeT-swanTarget - 编译到百度小程序Target - 编译到百度小程序T-ttTarget - 编译到字节跳动小程序Target - 编译到字节跳动小程序T-weappTarget - 编译到微信小程序Target - 编译到微信小程序V-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
F-reactFramework - ReactFramework - ReactT-alipayTarget - 编译到支付宝小程序Target - 编译到支付宝小程序T-ddT-feishuT-h5Target - 编译到 H5Target - 编译到 H5T-harmonyTarget - 编译到 HarmonyTarget - 编译到 HarmonyT-harmony_hybridTarget - 编译到 Harmony (Hybird 模式)Target - 编译到 Harmony (Hybird 模式)T-jdTarget - 编译到京东小程序Target - 编译到京东小程序T-kwaiT-qqTarget - 编译到 QQ 小程序Target - 编译到 QQ 小程序T-quickappTarget - 编译到快应用Target - 编译到快应用T-qyT-rnTarget - 编译到 React NativeTarget - 编译到 React NativeT-swanTarget - 编译到百度小程序Target - 编译到百度小程序T-ttTarget - 编译到字节跳动小程序Target - 编译到字节跳动小程序T-weappTarget - 编译到微信小程序Target - 编译到微信小程序V-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
StatusShow more project fields
Padding
请先确认
Taro 版本
v4
相关领域
None
使用框架
React
相关平台
小程序基础库版本
No response
问题描述
CustomWrapper组件传入className和style无效
复现链接
https://github.com/NervJS/taro.git
复现步骤
CustomWrapper组件传入className和style无效
环境信息
Taro v4.2.0 Taro CLI 4.2.0 environment info: System: OS: Windows 11 10.0.26100 Binaries: Node: 24.14.0 - D:\tools\node\node.EXE Yarn: 1.22.22 - C:\Users\huangpan\AppData\Roaming\npm\yarn.CMD npm: 11.9.0 - D:\tools\node\npm.CMD npmPackages: @tarojs/cli: 4.2.0 => 4.2.0 @tarojs/components: 4.2.0 => 4.2.0 @tarojs/helper: 4.2.0 => 4.2.0 @tarojs/plugin-framework-react: 4.2.0 => 4.2.0 @tarojs/plugin-platform-alipay: 4.2.0 => 4.2.0 @tarojs/plugin-platform-h5: 4.2.0 => 4.2.0 @tarojs/plugin-platform-harmony-hybrid: 4.2.0 => 4.2.0 @tarojs/plugin-platform-jd: 4.2.0 => 4.2.0 @tarojs/plugin-platform-qq: 4.2.0 => 4.2.0 @tarojs/plugin-platform-swan: 4.2.0 => 4.2.0 @tarojs/plugin-platform-tt: 4.2.0 => 4.2.0 @tarojs/plugin-platform-weapp: 4.2.0 => 4.2.0 @tarojs/react: 4.2.0 => 4.2.0 @tarojs/runtime: 4.2.0 => 4.2.0 @tarojs/shared: 4.2.0 => 4.2.0 @tarojs/taro: 4.2.0 => 4.2.0 @tarojs/taro-loader: 4.2.0 => 4.2.0 @tarojs/webpack5-runner: 4.2.0 => 4.2.0 babel-preset-taro: 4.2.0 => 4.2.0 eslint-config-taro: 4.2.0 => 4.2.0 react: ^18.0.0 => 18.3.1开源贡献