添加登录手机号校验
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user