在input中添加 onkeyup="value=value.replace(/[^\d]/g,'')"在input中添加 onkeyup="value=value.replace(/[^\d]/g 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交