Compare commits
No commits in common. "b57c58488b2c27d2745092c2eaf9e9a8444335f3" and "d0594a77a4f00c530bf33b59b94d5211dd1e07ea" have entirely different histories.
b57c58488b
...
d0594a77a4
|
@ -589,7 +589,7 @@ export default {
|
||||||
USERNAME: [
|
USERNAME: [
|
||||||
{ required: true, message: '用户名不能为空', trigger: 'blur' },
|
{ required: true, message: '用户名不能为空', trigger: 'blur' },
|
||||||
{
|
{
|
||||||
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0-9]|18[0-9]|19[0-9])\d{8}$/,
|
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[0-9])\d{8}$/,
|
||||||
message: '用户名为手机号,请正确输入'
|
message: '用户名为手机号,请正确输入'
|
||||||
},
|
},
|
||||||
{ validator: hasName, trigger: 'blur' }
|
{ validator: hasName, trigger: 'blur' }
|
||||||
|
|
|
@ -595,7 +595,7 @@ export default {
|
||||||
USERNAME: [
|
USERNAME: [
|
||||||
{ required: true, message: '用户名不能为空', trigger: 'blur' },
|
{ required: true, message: '用户名不能为空', trigger: 'blur' },
|
||||||
{
|
{
|
||||||
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0-9]|18[0-9]|19[0-9])\d{8}$/,
|
pattern: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[0-9])\d{8}$/,
|
||||||
message: '用户名为手机号,请正确输入'
|
message: '用户名为手机号,请正确输入'
|
||||||
},
|
},
|
||||||
{ validator: hasName, trigger: 'blur' }
|
{ validator: hasName, trigger: 'blur' }
|
||||||
|
|
Loading…
Reference in New Issue