[英]How can I export variables of componentDidMount ( react/react-native)
[英]How to i can calclulate in react-native input?
在您的 TextInput 中添加keyboardType="numeric" 參數,我認為問題是用字符串計算而不是數字看這里textinput
<TextInput
...
keyboardType="numeric"
/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.