我有这样的事情:
<TextInput
style={{height: 40, borderColor: 'gray', borderWidth: 1}}
value={0}
onChangeText={(input) => this.setState({ value: input })}
/>
Run Code Online (Sandbox Code Playgroud)
但是,加载后输入框总是空的,有什么想法吗?
| 归档时间: |
|
| 查看次数: |
4233 次 |
| 最近记录: |