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

有的组件 className无效 #549

Closed
gh81997167 opened this issue Aug 29, 2018 · 1 comment
Closed

有的组件 className无效 #549

gh81997167 opened this issue Aug 29, 2018 · 1 comment

Comments

@gh81997167
Copy link

gh81997167 commented Aug 29, 2018

问题描述
有的组件 className 编译成小程序 还是 className 导致样式无效了,
比如taro-ui 的一些组件、scrollView组件等 更多的没做测试呢,就是之前写的都错乱了

复现步骤
[复现问题的步骤]

export default class Index extends Component {
render() {
return ( <scrollView className={['scroll-teacher']} scrollX="true">);
}
}

export default class Index extends Component {
render() {
return ( );
}
}

期望行为
修复

报错信息
fgwegwegweg

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. 👽 Taro v1.0.0-beta.17]
  • Node.js 版本 [e.g. v8.0.0]

补充信息

@yuche
Copy link
Contributor

yuche commented Aug 30, 2018

scrollView 首字母大写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants