firefox(火狐中的兼容问题总结)

1.firefox 下 默认情况 <input   type="number"> 只允许整数其他的都会报错,红色提示;

这时候可以添加参数 step="0.01"  <input   type="number" step="0.01">解决问题

猜你喜欢

转载自www.cnblogs.com/cx709452428/p/9882254.html