Compare commits

..

2 Commits

Author SHA1 Message Date
guoyuepeng b57c58488b Merge remote-tracking branch 'origin/pet' into pet 2024-07-02 11:19:56 +08:00
guoyuepeng 20a4c3f0cc 1.手机匹配正则修改,可以数据17(0-9)的 2024-07-02 11:19:43 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -589,7 +589,7 @@ export default {
USERNAME: [
{ required: true, message: '用户名不能为空', trigger: 'blur' },
{
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[0-9])\d{8}$/,
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0-9]|18[0-9]|19[0-9])\d{8}$/,
message: '用户名为手机号,请正确输入'
},
{ validator: hasName, trigger: 'blur' }

View File

@ -595,7 +595,7 @@ export default {
USERNAME: [
{ required: true, message: '用户名不能为空', trigger: 'blur' },
{
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[0-9])\d{8}$/,
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0-9]|18[0-9]|19[0-9])\d{8}$/,
message: '用户名为手机号,请正确输入'
},
{ validator: hasName, trigger: 'blur' }