Skip to content
New issue

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

View等标签在h5平台没有自定属性 #9287

Closed
jaceechan opened this issue May 8, 2021 · 1 comment
Closed

View等标签在h5平台没有自定属性 #9287

jaceechan opened this issue May 8, 2021 · 1 comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@jaceechan
Copy link

jaceechan commented May 8, 2021

相关平台

H5

浏览器版本: 所有
使用框架: React

复现步骤

模板内容

<View custom-prop="value">xxx</View> 

期望结果

编译后期望的结果:

<taro-view-core custom-prop="value">xxx</taro-view-core> 

实际结果

编译后实际的结果:

<taro-view-core >xxx</taro-view-core> 

环境信息

  Taro CLI 3.2.5 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.16.1
      Yarn: 1.22.5
      npm: 6.14.12

补充信息

若使用div等原生的标签是正常的,如果使用View等标签就会被吞掉

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels May 8, 2021
@Chen-jj
Copy link
Contributor

Chen-jj commented Oct 28, 2021

最新版本已修复~

@Chen-jj Chen-jj closed this as completed Oct 28, 2021
@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

2 participants