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
H5
浏览器版本: 87.0.4280.88(正式版本) (x86_64) 使用框架: Nerv
1、Image组件传入imgProps={{alt: 'hello'}}
h5环境下img标签正常显示imgProps的属性
实际渲染没有出现alt属性
Taro v3.0.17 Taro CLI 3.0.17 environment info: System: OS: macOS 11.0.1 Shell: 5.8 - /bin/zsh Binaries: Node: 15.3.0 - /usr/local/bin/node Yarn: 1.22.5 - ~/.yarn/bin/yarn npm: 7.0.14 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.0.17 => 3.0.17 @tarojs/mini-runner: 3.0.17 => 3.0.17 @tarojs/router: 3.0.17 => 3.0.17 @tarojs/taro: 3.0.17 => 3.0.17 @tarojs/taro-h5: 3.0.17 => 3.0.17 @tarojs/webpack-runner: 3.0.17 => 3.0.17 babel-plugin-transform-taroapi: 3.0.17 => 3.0.17 babel-preset-taro: 3.0.17 => 3.0.17 eslint-config-taro: 1.3.38 => 1.3.38 eslint-plugin-taro: 1.3.38 => 1.3.38 nerv-devtools: ^1.4.0 => 1.5.7 nervjs: ^1.5.7 => 1.5.7 npmGlobalPackages: typescript: 4.1.2
https://github.com/NervJS/taro/blob/next/packages/taro-components/src/components/image/image.tsx 里面缺少imgProps
The text was updated successfully, but these errors were encountered:
旧版本的属性,欢迎 PR
Sorry, something went wrong.
提了PR,麻烦review一下。 @ZakaryCode
ZakaryCode
Successfully merging a pull request may close this issue.
相关平台
H5
浏览器版本: 87.0.4280.88(正式版本) (x86_64)
使用框架: Nerv
复现步骤
1、Image组件传入imgProps={{alt: 'hello'}}
期望结果
h5环境下img标签正常显示imgProps的属性
实际结果
实际渲染没有出现alt属性
环境信息
补充信息
https://github.com/NervJS/taro/blob/next/packages/taro-components/src/components/image/image.tsx 里面缺少imgProps
The text was updated successfully, but these errors were encountered: