|
|
|
@ -108,6 +108,7 @@ const UserManager = (props: any) => {
|
|
|
|
|
},
|
|
|
|
|
"rules": [{ required: true }, {
|
|
|
|
|
pattern: '^[A-Za-z0-9@!-]+$',
|
|
|
|
|
// pattern: /^[A-Za-z0-9@!-]+$/,
|
|
|
|
|
// pattern: /^(?=.*[0-9])(?=.*[!@#$%^&*])(?=.*[a-z])(?=.*[A-Z]).{8,}$/,
|
|
|
|
|
message: '密码只能包含数字字母和@!-'
|
|
|
|
|
}],
|
|
|
|
|