TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效
type设置为number,是使用的html规范,在html下确实是这样的,如果没有特殊需求,建议换种type形式吧!