oninput="value=value.replace(/[^\d]/g,'')" 输入其他的数据不会被填入input框内。 相关文章: 2021-09-23 2021-08-01 2021-06-20 2022-12-23 2021-12-08 2022-12-23 2021-12-08