vue、表格  手机号判断十一位数11       

<input type="number" class="inputN" v-model="newPhone" oninput="if(value.length>11)value=value.slice(0,11)"
                 placeholder="请输入您在首佳物业预留的手机号"/>

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐