|
|
|
@ -183,12 +183,14 @@ const ManagementAccountEditor: React.FC<IManagementAccountEditor> = (props) => {
|
|
|
|
|
return null
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"rules": [{
|
|
|
|
|
// pattern: '^[A-Za-z0-9]+$',
|
|
|
|
|
pattern: '^[A-Za-z0-9@!-]+$',
|
|
|
|
|
// message: '密码只能由英文字母和数字组成'
|
|
|
|
|
message: '密码只能包含数字字母和@!-'
|
|
|
|
|
}],
|
|
|
|
|
// "rules": [{
|
|
|
|
|
// // pattern: '^[A-Za-z0-9]+$',
|
|
|
|
|
// // pattern: '^[A-Za-z0-9@!-]+$',
|
|
|
|
|
// pattern: /^[A-Za-z0-9@!-]+$/,
|
|
|
|
|
|
|
|
|
|
// // message: '密码只能由英文字母和数字组成'
|
|
|
|
|
// message: '密码只能包含数字字母和@!-'
|
|
|
|
|
// }],
|
|
|
|
|
"inputComponent": <Input.Password iconRender={visible => (visible ? <EyeTwoTone /> : <EyeInvisibleOutlined />)}
|
|
|
|
|
/>
|
|
|
|
|
}, {
|
|
|
|
@ -411,6 +413,7 @@ const ManagementAccountEditor: React.FC<IManagementAccountEditor> = (props) => {
|
|
|
|
|
console.log("submit data", subvals, values)
|
|
|
|
|
submitData()
|
|
|
|
|
}}>
|
|
|
|
|
<div>222222222222222222222222222222222222222</div>
|
|
|
|
|
<Form form={thisForm} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
|
|
|
|
{
|
|
|
|
|
userColumns.slice(1, 9).map((col: any) => (
|
|
|
|
|