编辑密码添加特殊字符

master
wuzuowei 6 months ago
parent c4f57cda6d
commit ca09d6b427

@ -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: '密码只能包含数字字母和@!-'
}],

Loading…
Cancel
Save