添加登录手机号校验

This commit is contained in:
2023-05-15 09:53:09 +08:00
parent 378d660823
commit ac7df467f4

View File

@@ -14,6 +14,8 @@
<el-input
v-model="loginForm.username"
placeholder="请输入用户名"
oninput="if(value.length>11)value=value.slice(0,11)" type="Number" onkeyup="this.value = this.value.replace(/[^\d]/g,'');"
>
<img
slot="prefix"