ios移动端input 输入设置type=number无效

增加属性 

pattern="[0-9]*" 
原文地址:https://www.cnblogs.com/lvshuya/p/11612404.html