设置 step="any"例如:<input type="number" step="any" value=""> 转载于:https://www.cnblogs.com/luobiao/p/5695885.html