<input
type="num"
placeholder="请输入充值金额"
class="mui-input-clear wrPhone"
onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"
/>
input只能输入正整数
最新推荐文章于 2023-01-07 16:43:43 发布
<input
type="num"
placeholder="请输入充值金额"
class="mui-input-clear wrPhone"
onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"
/>