<input type="number" oninput="if(value.length>11)value=value.slice(0,11)" />
vue 在input中限制只能输入数字和限制长度
最新推荐文章于 2024-05-29 17:33:04 发布
<input type="number" oninput="if(value.length>11)value=value.slice(0,11)" />