jd-opensource / jd-opensource/taro-ui
AtSwitch组件在h5中不受控
Open
表单组件
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
### Taro UI 版本信息
2.2.1
### 问题描述
https://github.com/NervJS/taro/issues/1794 Switch组件在h5中不受控这个问题在19年1月17日被解决。请参考
### 复现步骤
直接点击即可
### 复现代码
```js
state = {
cont: "0",
useCustomCont: false
};
willUseCustom = useCustomCont => this.setState({ useCustomCont });
render (){
return (
)
}
```
### 报错信息
没有报错
### 系统信息
taro 1.3.11
### 补充信息
https://github.com/NervJS/taro/issues/1794 Switch组件在h5中不受控这个问题在19年1月17日被解决。请参考
Contributor guide
Assessment
This issue has not been assessed yet.