mirror of https://github.com/halo-dev/halo-admin
perf: update reg for username
parent
71d68d3732
commit
22e79fa662
|
@ -178,7 +178,7 @@ const handleCreateUser = async () => {
|
|||
['length:0,50'],
|
||||
[
|
||||
'matches',
|
||||
/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-\_]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/,
|
||||
/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
|
||||
],
|
||||
]"
|
||||
:validation-messages="{
|
||||
|
|
Loading…
Reference in New Issue