jd-opensource / jd-opensource/taro-ui
同一控件行为不一致,AtInput的event在onChange传入自定义id, 而onErrorClick传入自动生成的id
Open
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
### Taro UI 版本信息
3.0.0-alpha.2
### 问题描述
同一控件行为不一致,AtInput的event在onChange传入自定义id, 而onErrorClick传入自动生成的id
### 复现步骤
正常使用就能复现
### 复现代码
AtInput name={'reveiptPerson'} title={'收货人:'} type={'text'} value={this.state.reveiptPerson} error={this.state.errors.reveiptPerson} onChange={this.inputValueChanged} onErrorClick={this.onErrorClick}/
### 报错信息
没报错
### 系统信息
3.x.alpha.2
### 补充信息
Contributor guide
Assessment
This issue has not been assessed yet.